diff options
author | obscuren <geffobscura@gmail.com> | 2014-02-28 23:45:29 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-02-28 23:45:29 +0800 |
commit | 601340bd464e3ebae0e4fa3407be5fff3bb3fcbf (patch) | |
tree | 0754f60c7154bc74042e41769b9b4da824f9126d /ethereum.go | |
parent | 839bd73fbb525f6c51e4205ce6519b6154cda2f0 (diff) | |
download | go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.gz go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.tar.zst go-tangerine-601340bd464e3ebae0e4fa3407be5fff3bb3fcbf.zip |
Fixed shutting down
Diffstat (limited to 'ethereum.go')
-rw-r--r-- | ethereum.go | 2 |
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 |