ethstats: add missing Ticker.Stop call (#20867)
This commit is contained in:
parent
53e034ce0b
commit
37d6357806
@ -240,6 +240,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 {
|
||||
|
Loading…
Reference in New Issue
Block a user