From 76a9d7bda293a3244203a09de08f6e8ce9cccc7b Mon Sep 17 00:00:00 2001 From: Jaremy Creechley Date: Fri, 17 May 2024 01:37:01 +0300 Subject: [PATCH] fix results stuff --- codex/utils/asyncthreads.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex/utils/asyncthreads.nim b/codex/utils/asyncthreads.nim index 68f9bad5..19a19adc 100644 --- a/codex/utils/asyncthreads.nim +++ b/codex/utils/asyncthreads.nim @@ -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())