From 1f6a63e7d3248b1bda2789d3f1e346617cfcc2d9 Mon Sep 17 00:00:00 2001 From: Daniel Liu Date: Fri, 5 Sep 2025 11:45:33 +0800 Subject: [PATCH] ethstats: add missing Ticker.Stop call #20867 --- ethstats/ethstats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 0e69a00251c0..a5b975316321 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -299,6 +299,7 @@ func (s *Service) loop() { } // Keep sending status updates until the connection breaks fullReport := time.NewTicker(15 * time.Second) + defer fullReport.Stop() for err == nil { select {