Skip to content

Commit 45618d5

Browse files
committed
Merge pull request #1418 from fjl/one-interrupt
cmd/utils: fix interrupt handling to actually see subsequent interrupts
2 parents 6220707 + d4c2e9d commit 45618d5

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)