We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cf2c69 commit 0bc209aCopy full SHA for 0bc209a
nimbus/nimbus.nim
@@ -114,6 +114,7 @@ proc controlCHandler() {.noconv.} =
114
raiseAssert exc.msg # shouldn't happen
115
116
notice "\tCtrl+C pressed. Shutting down services ..."
117
+
118
shutdownExecution()
119
shutdownConsensus()
120
@@ -173,9 +174,13 @@ proc run*(nimbus: var Nimbus) =
173
174
# note: do not move. Both execution and consensus clients create these handlers.
175
setControlCHook(controlCHandler)
176
- ## wait for shutdown
177
+ # wait for shutdown
178
nimbus.monitorServices()
179
180
+ # WA to shutdown (exceptions thrown)
181
+ # current shutdown procedure hangs on nat.nim from nim-eth
182
+ quit 0
183
184
# ------
185
when isMainModule:
186
notice "Starting Nimbus"
0 commit comments