diff --git a/asyncdispatch2/asyncloop.nim b/asyncdispatch2/asyncloop.nim index 35c950e5..2d7e5884 100644 --- a/asyncdispatch2/asyncloop.nim +++ b/asyncdispatch2/asyncloop.nim @@ -522,7 +522,7 @@ else: let customSet = {Event.Timer, Event.Signal, Event.Process, Event.Vnode} - # Moving expired timers to `loop.callbacks` and calculate timeout + # Moving expired timers to `loop.callbacks` and calculate timeout. var count = len(loop.timers) if count > 0: var lastFinish = curTime @@ -542,6 +542,7 @@ else: if len(loop.callbacks) != 0: curTimeout = 0 + # Processing IO descriptors and all hardware events. count = loop.selector.selectInto(curTimeout, loop.keys) for i in 0.. CallSoonTests * 2 + test "`callSoon() is not working prior getGlobalDispatcher()` #7192 test": + check test3() == true