Add missing bool

This commit is contained in:
Arnaud 2026-01-12 15:24:12 +04:00
parent 5ebffe0145
commit e0242c07c6
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F

View File

@ -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