diff options
author | obscuren <geffobscura@gmail.com> | 2014-07-01 17:55:50 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-07-01 17:55:50 +0800 |
commit | 2bbc204328cf674e8ccd591bb4d08179225b396a (patch) | |
tree | 2538cd6b614d8de2826d71a0e4f77663aa33c859 /ethminer | |
parent | 92693e44599c44e606813d2c3259cc9f6f81a644 (diff) | |
download | dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar.gz dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar.bz2 dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar.lz dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar.xz dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.tar.zst dexon-2bbc204328cf674e8ccd591bb4d08179225b396a.zip |
Close pow chat. Fixes #95
Diffstat (limited to 'ethminer')
-rw-r--r-- | ethminer/miner.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index 66388723e..71d4b2428 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -130,7 +130,9 @@ out: func (self *Miner) Stop() { logger.Infoln("Stopping...") self.quitChan <- true - self.powQuitChan <- ethutil.React{} + + close(self.powQuitChan) + close(self.quitChan) } func (self *Miner) mineNewBlock() { |