Commit 9afd5c7b authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #5708 from ethereum-optimism/felipe/fix-consensus-shutdown

fix(proxyd): add missing shutdown for consensus poller
parents a710d91e 74d9b34d
......@@ -222,6 +222,11 @@ func (s *Server) Shutdown() {
if s.wsServer != nil {
_ = s.wsServer.Shutdown(context.Background())
}
for _, bg := range s.BackendGroups {
if bg.Consensus != nil {
bg.Consensus.Shutdown()
}
}
}
func (s *Server) HandleHealthz(w http.ResponseWriter, r *http.Request) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment