ethstats: add missing Ticker.Stop call #20867 (#1437)

This commit is contained in:
Daniel Liu 2025-09-06 17:15:52 +08:00 committed by GitHub
parent c7f17cb300
commit f852b21b44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {