diff --git a/datastore/threads/threadproxyds.nim b/datastore/threads/threadproxyds.nim index ed2b2de..db2c6f1 100644 --- a/datastore/threads/threadproxyds.nim +++ b/datastore/threads/threadproxyds.nim @@ -263,6 +263,7 @@ method query*( var lock = newAsyncLock() # serialize querying under threads + iter = QueryIter.new() proc next(): Future[?!QueryResponse] {.async.} = defer: