aboutsummaryrefslogtreecommitdiffstats
path: root/ethminer/miner.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethminer/miner.go')
-rw-r--r--ethminer/miner.go4
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() {