Browse Source

consensus-do-not-close-channel

pull/8155/head
tycho garen 3 years ago
parent
commit
535a426052
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      internal/consensus/state.go

+ 0
- 2
internal/consensus/state.go View File

@ -511,8 +511,6 @@ func (cs *State) OnStop() {
} }
} }
close(cs.onStopCh)
if cs.timeoutTicker.IsRunning() { if cs.timeoutTicker.IsRunning() {
cs.timeoutTicker.Stop() cs.timeoutTicker.Stop()
} }


Loading…
Cancel
Save