From d4c2e9de32b79333ffc3a8f9d17dc11db21fd85f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Mon, 6 Jul 2015 16:48:34 +0200 Subject: [PATCH] cmd/utils: fix interrupt handling to actually see subsequent interrupts --- cmd/utils/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 33a6c1cb24..20fc57f922 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -132,7 +132,7 @@ func StartEthereum(ethereum *eth.Ethereum) { defer signal.Stop(sigc) <-sigc glog.V(logger.Info).Infoln("Got interrupt, shutting down...") - ethereum.Stop() + go ethereum.Stop() logger.Flush() for i := 10; i > 0; i-- { <-sigc