aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-28 23:45:29 +0800
committerobscuren <geffobscura@gmail.com>2014-02-28 23:45:29 +0800
commit601340bd464e3ebae0e4fa3407be5fff3bb3fcbf (patch)
tree0754f60c7154bc74042e41769b9b4da824f9126d /ethereum.go
parent839bd73fbb525f6c51e4205ce6519b6154cda2f0 (diff)
downloadgo-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.gz
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.bz2
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.lz
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.xz
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.zst
go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.zip
Fixed shutting down
Diffstat (limited to 'ethereum.go')
-rw-r--r--ethereum.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereum.go b/ethereum.go
index 90682b396..b4a8cdb4a 100644
--- a/ethereum.go
+++ b/ethereum.go
@@ -295,7 +295,7 @@ func (s *Ethereum) Stop() {
s.TxPool.Stop()
s.BlockManager.Stop()
- s.shutdownChan <- true
+ close(s.shutdownChan)
}
// This function will wait for a shutdown and resumes main thread execution