From f852b21b442d8dda180d2be38d6cfa261aa004f3 Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Sat, 6 Sep 2025 17:15:52 +0800 Subject: [PATCH] ethstats: add missing Ticker.Stop call #20867 (#1437) --- ethstats/ethstats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index 0e69a00251..a5b9753163 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 {