fix results stuff

This commit is contained in:
Jaremy Creechley 2024-05-17 01:37:01 +03:00
parent 0bbd558ee7
commit 76a9d7bda2
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const
proc awaitThreadResult*[T](signal: ThreadSignalPtr, handle: Flowvar[T]): Future[?!T] {.async.} =
await wait(signal)
proc closeSig() =
template closeSig() =
let sigRes = signal.close()
if sigRes.isErr:
return failure(sigRes.error())