summary refs log tree commit diff stats
path: root/lib/upcoming
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2016-11-29 10:40:08 +0100
committerAraq <rumpf_a@web.de>2016-11-29 10:40:08 +0100
commitd495ef57054f91799144022012eef646b9194163 (patch)
tree5d69f761072624c6d6e18d07a1c0751501f21ff7 /lib/upcoming
parentf9c184a4932eb839a6ec4b9293e37583cd33a89a (diff)
downloadNim-d495ef57054f91799144022012eef646b9194163.tar.gz
updated upcoming/asyncdispatch
Diffstat (limited to 'lib/upcoming')
-rw-r--r--lib/upcoming/asyncdispatch.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/upcoming/asyncdispatch.nim b/lib/upcoming/asyncdispatch.nim
index 68ecbe81e..798a7e890 100644
--- a/lib/upcoming/asyncdispatch.nim
+++ b/lib/upcoming/asyncdispatch.nim
@@ -207,7 +207,7 @@ when defined(windows) or defined(nimdoc):
     result.ioPort = createIoCompletionPort(INVALID_HANDLE_VALUE, 0, 0, 1)
     result.handles = initSet[AsyncFD]()
     result.timers.newHeapQueue()
-    result.callbacks = initQueue[proc ()](64)
+    result.callbacks = initDeque[proc ()](64)
 
   var gDisp{.threadvar.}: PDispatcher ## Global dispatcher
   proc getGlobalDispatcher*(): PDispatcher =