From 535a426052e56aef9891244592050a36889ea05d Mon Sep 17 00:00:00 2001 From: tycho garen Date: Fri, 18 Mar 2022 12:10:45 -0400 Subject: [PATCH] consensus-do-not-close-channel --- internal/consensus/state.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/consensus/state.go b/internal/consensus/state.go index 109e90683..d82877ec1 100644 --- a/internal/consensus/state.go +++ b/internal/consensus/state.go @@ -511,8 +511,6 @@ func (cs *State) OnStop() { } } - close(cs.onStopCh) - if cs.timeoutTicker.IsRunning() { cs.timeoutTicker.Stop() }