Unverified Commit 37d63578 authored by ucwong's avatar ucwong Committed by GitHub

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

parent 53e034ce
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment