Skip to content

Commit d4c2e9d

Browse files
committed
cmd/utils: fix interrupt handling to actually see subsequent interrupts
1 parent 5615fc4 commit d4c2e9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/utils/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func StartEthereum(ethereum *eth.Ethereum) {
132132
defer signal.Stop(sigc)
133133
<-sigc
134134
glog.V(logger.Info).Infoln("Got interrupt, shutting down...")
135-
ethereum.Stop()
135+
go ethereum.Stop()
136136
logger.Flush()
137137
for i := 10; i > 0; i-- {
138138
<-sigc

0 commit comments

Comments
 (0)