mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-05-07 18:59:24 +00:00
Update ffi/ffi_context.nim
Co-authored-by: Gabriel Cruz <8129788+gmelodie@users.noreply.github.com>
This commit is contained in:
parent
63d3276576
commit
f81a697289
@ -114,7 +114,7 @@ proc watchdogThreadBody(ctx: ptr FFIContext) {.thread.} =
|
||||
|
||||
# Give time for the node to be created and up before sending watchdog requests.
|
||||
# waitSync returns early if watchdogStopSignal fires (i.e. on destroy).
|
||||
let startWait = ctx.watchdogStopSignal.waitSync(WatchdogStartDelay)
|
||||
let stopSignal = ctx.watchdogStopSignal.waitSync(WatchdogStartDelay)
|
||||
if startWait.isErr():
|
||||
error "watchdog: start-delay waitSync failed", error = startWait.error
|
||||
elif startWait.get():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user