Update ffi/ffi_context.nim

Co-authored-by: Gabriel Cruz <8129788+gmelodie@users.noreply.github.com>
This commit is contained in:
Ivan FB 2026-05-06 21:28:12 +02:00 committed by GitHub
parent 98d889c0f9
commit 9e4943f73e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -305,9 +305,9 @@ proc signalStop*[T](ctx: ptr FFIContext[T]): Result[void, string] =
ctx.onNotResponding()
return err("failed to signal reqSignal on time in destroyFFIContext")
let wdSignaled = ctx.watchdogStopSignal.fireSync().valueOr:
return err("error signaling watchdogStopSignal in destroyFFIContext: " & $error)
return err("error signaling stopSignal in destroyFFIContext: " & $error)
if not wdSignaled:
return err("failed to signal watchdogStopSignal on time in destroyFFIContext")
return err("failed to signal stopSignal on time in destroyFFIContext")
return ok()
proc joinFFIThreads*[T](ctx: ptr FFIContext[T]) =