fixes async regression

This commit is contained in:
Araq 2020-03-10 12:46:19 +01:00 • committed by Andreas Rumpf
commit 3aed8ff432

View file

@ -1122,7 +1122,7 @@ else:
new result
result.selector = newSelector[AsyncData]()
result.timers.newHeapQueue()
result.callbacks = initDeque[proc ()](InitDelayedCallbackListSize)
result.callbacks = initDeque[proc () {.closure, gcsafe.}](InitDelayedCallbackListSize)
var gDisp{.threadvar.}: owned PDispatcher ## Global dispatcher