Resolve bugs with deep recursion of asyncdispatch.

Introduce callSoon() implementation.
Patch tests to use waitFor() instead of asyncCheck()
This commit is contained in:
cheatfate 2016-05-18 00:53:53 +03:00
commit aba60e54d5
4 changed files with 31 additions and 10 deletions

View file

@ -36,4 +36,4 @@ proc main {.async.} =
discard await g()
echo 6
asyncCheck main()
waitFor(main())