mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-13 22:04:52 +00:00
Merge branch 'ctrlc' into devel
This commit is contained in:
commit
0c7bc7f048
@ -51,6 +51,7 @@ proc start() =
|
||||
# workaround for https://github.com/nim-lang/Nim/issues/4057
|
||||
setupForeignThreadGc()
|
||||
nimbus.state = Stopping
|
||||
echo "\nCtrl+C pressed. Waiting for a graceful shutdown."
|
||||
setControlCHook(controlCHandler)
|
||||
|
||||
## logging
|
||||
|
Loading…
x
Reference in New Issue
Block a user