mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 03:46:33 +00:00
revert close ch order change
This commit is contained in:
@@ -869,13 +869,9 @@ func (r *Reactor) processCh(ch *p2p.Channel, chName string) {
|
||||
Err: err,
|
||||
}
|
||||
}
|
||||
default:
|
||||
select {
|
||||
case <-r.closeCh:
|
||||
r.Logger.Debug(fmt.Sprintf("stopped listening on %s channel; closing...", chName))
|
||||
return
|
||||
default:
|
||||
}
|
||||
case <-r.closeCh:
|
||||
r.Logger.Debug(fmt.Sprintf("stopped listening on %s channel; closing...", chName))
|
||||
return
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user