mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-08-02 06:53:16 +00:00
Add missing bool
This commit is contained in:
parent
5ebffe0145
commit
e0242c07c6
@ -216,6 +216,7 @@ proc stop*(d: Discovery) {.async: (raises: []).} =
|
||||
|
||||
try:
|
||||
await noCancel d.protocol.closeWait()
|
||||
d.isStarted = false
|
||||
except CatchableError as exc:
|
||||
error "Error stopping discovery", exc = exc.msg
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user