Close pow chat. Fixes #95

This commit is contained in:
obscuren 2014-07-01 11:55:50 +02:00
parent 92693e4459
commit 2bbc204328

View File

@ -130,7 +130,9 @@ out:
func (self *Miner) Stop() { func (self *Miner) Stop() {
logger.Infoln("Stopping...") logger.Infoln("Stopping...")
self.quitChan <- true self.quitChan <- true
self.powQuitChan <- ethutil.React{}
close(self.powQuitChan)
close(self.quitChan)
} }
func (self *Miner) mineNewBlock() { func (self *Miner) mineNewBlock() {