Fix syntax

This commit is contained in:
Arnaud 2025-05-27 12:57:00 +02:00
parent 9ea1c78be9
commit f7a7e93ce3
No known key found for this signature in database
GPG Key ID: B8FBC178F10CA7AE

View File

@ -192,8 +192,8 @@ proc stop*(s: CodexServer) {.async.} =
error "Failed to stop codex node", failures = res.failure.len
raiseAssert "Failed to stop codex node"
if not self.taskpool.isNil:
self.taskpool.shutdown()
if not s.taskpool.isNil:
s.taskpool.shutdown()
proc new*(
T: type CodexServer, config: CodexConf, privateKey: CodexPrivateKey