diff options
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r-- | ethminer/miner.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index fd14571cd..a50b3712f 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -135,10 +135,9 @@ out: func (self *Miner) Stop() { logger.Infoln("Stopping...") - self.quitChan <- true - close(self.powQuitChan) - close(self.quitChan) + self.quitChan <- true + self.powQuitChan <- ethutil.React{} self.ethereum.Reactor().Post("miner:stop", self) } |