Close pow chat. Fixes #95
This commit is contained in:
parent
92693e4459
commit
2bbc204328
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user