From 2bbc204328cf674e8ccd591bb4d08179225b396a Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 1 Jul 2014 11:55:50 +0200 Subject: [PATCH] Close pow chat. Fixes #95 --- ethminer/miner.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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() {