Commit e4de5602 authored by Adrian Sutton's avatar Adrian Sutton Committed by GitHub

Merge pull request #8469 from ethereum-optimism/aj/close-poll-client

op-challenger: Close the polling client
parents 94b78e8d 3f55eee2
...@@ -228,6 +228,9 @@ func (s *Service) Stop(ctx context.Context) error { ...@@ -228,6 +228,9 @@ func (s *Service) Stop(ctx context.Context) error {
s.txMgr.Close() s.txMgr.Close()
} }
if s.pollClient != nil {
s.pollClient.Close()
}
if s.l1Client != nil { if s.l1Client != nil {
s.l1Client.Close() s.l1Client.Close()
} }
......
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