forked from cerc-io/plugeth
les: add missing Ticker.Stop call (#20864)
This commit is contained in:
parent
66ed58bfcc
commit
4d891f23b5
@ -269,6 +269,7 @@ func (ct *costTracker) gfLoop() {
|
||||
log.Debug("global cost factor saved", "value", factor)
|
||||
}
|
||||
saveTicker := time.NewTicker(time.Minute * 10)
|
||||
defer saveTicker.Stop()
|
||||
|
||||
for {
|
||||
select {
|
||||
|
Loading…
Reference in New Issue
Block a user