From 7718ebe1eec80cc7c697e9d7f1880b8a553989f6 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Mon, 6 Aug 2018 15:15:05 +0300 Subject: [PATCH] Workaround for multiple `waitFor` where `await` must be used. Bump version to 2.0.7. --- asyncdispatch2.nimble | 2 +- asyncdispatch2/asyncloop.nim | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/asyncdispatch2.nimble b/asyncdispatch2.nimble index ac7dca65..4778577d 100644 --- a/asyncdispatch2.nimble +++ b/asyncdispatch2.nimble @@ -1,5 +1,5 @@ packageName = "asyncdispatch2" -version = "2.0.6" +version = "2.0.7" author = "Status Research & Development GmbH" description = "Asyncdispatch2" license = "Apache License 2.0 or MIT" diff --git a/asyncdispatch2/asyncloop.nim b/asyncdispatch2/asyncloop.nim index 5e79ed25..4838143d 100644 --- a/asyncdispatch2/asyncloop.nim +++ b/asyncdispatch2/asyncloop.nim @@ -227,6 +227,12 @@ template processTimers(loop: untyped) = template processCallbacks(loop: untyped) = var count = len(loop.callbacks) for i in 0..