good morning!!!!

Skip to content
Snippets Groups Projects
Commit 60561cdc authored by Bas van Kervel's avatar Bas van Kervel
Browse files

fixed issue when miner is not stopping af stop command

parent 77787403
No related branches found
No related tags found
No related merge requests found
......@@ -67,6 +67,12 @@ out:
go self.mine(block, self.quitCurrentOp)
self.mu.Unlock()
case <-self.quit:
self.mu.Lock()
if self.quitCurrentOp != nil {
close(self.quitCurrentOp)
self.quitCurrentOp = nil
}
self.mu.Unlock()
break out
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment