Skip to content

Commit 80513aa

Browse files
authored
polygon/sync: Clean shutdown (#10017)
1 parent 34e8d35 commit 80513aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eth/backend.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,7 @@ func (s *Ethereum) Start() error {
14071407
s.waitForStageLoopStop = nil // TODO: Ethereum.Stop should wait for execution_server shutdown
14081408
go s.eth1ExecutionServer.Start(s.sentryCtx)
14091409
} else if s.config.PolygonSync {
1410+
s.waitForStageLoopStop = nil // Shutdown is handled by context
14101411
go func() {
14111412
ctx := s.sentryCtx
14121413
err := s.polygonSyncService.Run(ctx)

0 commit comments

Comments
 (0)