From 0382c0c98c757f8fbae25cd77fa76f27b3f24fa3 Mon Sep 17 00:00:00 2001 From: ucwong Date: Thu, 2 Apr 2020 11:14:28 +0000 Subject: [PATCH] ethstats : add missing ticker.Stop() call --- ethstats/ethstats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go index f9284722cf83..defca45c89cd 100644 --- a/ethstats/ethstats.go +++ b/ethstats/ethstats.go @@ -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 {