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() {