From e0242c07c6ae27f0cdb9d6e125b032e195acb625 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 12 Jan 2026 15:24:12 +0400 Subject: [PATCH] Add missing bool --- codex/discovery.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/codex/discovery.nim b/codex/discovery.nim index 11f1e741..1b9ba5c0 100644 --- a/codex/discovery.nim +++ b/codex/discovery.nim @@ -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