mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 11:45:18 +00:00
p2p: refactor Switch#OnStop (#3729)
This commit is contained in:
committed by
Anton Kaliaev
parent
0e1c492d3e
commit
ed18ffdca3
@@ -714,7 +714,6 @@ func (n *Node) OnStop() {
|
||||
n.indexerService.Stop()
|
||||
|
||||
// now stop the reactors
|
||||
// TODO: gracefully disconnect from peers.
|
||||
n.sw.Stop()
|
||||
|
||||
// stop mempool WAL
|
||||
|
||||
Reference in New Issue
Block a user