Skip to content

Commit 0bc209a

Browse files
author
pmmiranda
committed
temporary shutdown wa
1 parent 2cf2c69 commit 0bc209a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nimbus/nimbus.nim

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ proc controlCHandler() {.noconv.} =
114114
raiseAssert exc.msg # shouldn't happen
115115

116116
notice "\tCtrl+C pressed. Shutting down services ..."
117+
117118
shutdownExecution()
118119
shutdownConsensus()
119120

@@ -173,9 +174,13 @@ proc run*(nimbus: var Nimbus) =
173174
# note: do not move. Both execution and consensus clients create these handlers.
174175
setControlCHook(controlCHandler)
175176

176-
## wait for shutdown
177+
# wait for shutdown
177178
nimbus.monitorServices()
178179

180+
# WA to shutdown (exceptions thrown)
181+
# current shutdown procedure hangs on nat.nim from nim-eth
182+
quit 0
183+
179184
# ------
180185
when isMainModule:
181186
notice "Starting Nimbus"

0 commit comments

Comments
 (0)