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

This commit is contained in:
ucwong authored and GitHub committed 2020-04-02 16:02:10 +02:00
1 parent 53e034ce0b
commit 37d6357806
1 file changed
+1
+1
View File
@@ -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 {