mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-14 14:24:32 +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
|
# workaround for https://github.com/nim-lang/Nim/issues/4057
|
||||||
setupForeignThreadGc()
|
setupForeignThreadGc()
|
||||||
nimbus.state = Stopping
|
nimbus.state = Stopping
|
||||||
|
echo "\nCtrl+C pressed. Waiting for a graceful shutdown."
|
||||||
setControlCHook(controlCHandler)
|
setControlCHook(controlCHandler)
|
||||||
|
|
||||||
## logging
|
## logging
|
||||||
|
Loading…
x
Reference in New Issue
Block a user