Skip to content

Commit 4abbbea

Browse files
committed
fix: avoid sigsegv during shutdown
1 parent bc1c320 commit 4abbbea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/archivist/helpers/nodeutils.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ proc cleanup*(cluster: NodesCluster) {.async.} =
247247
for component in cluster.components:
248248
if component.node != nil:
249249
try:
250-
await component.node.switch.stop()
251250
await component.node.stop()
251+
await component.node.switch.stop()
252252
except CatchableError:
253253
discard
254254

0 commit comments

Comments
 (0)