1
0
mirror of https://github.com/fluencelabs/tendermint synced 2025-07-17 13:21:57 +00:00

Merge pull request from tendermint/recreate-quit-channel-on-reset

Recreate Quit channel on reset
This commit is contained in:
Ethan Buchman
2017-03-28 12:26:02 -04:00
committed by GitHub

@@ -136,6 +136,7 @@ func (bs *BaseService) Reset() (bool, error) {
// whether or not we've started, we can reset
atomic.CompareAndSwapUint32(&bs.started, 1, 0)
bs.Quit = make(chan struct{})
return true, bs.impl.OnReset()
} else {
if bs.log != nil {