refactor(cosmovisor): add missing stop ticker (#19400)
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
parent
313a989545
commit
c4d673ce66
@ -67,6 +67,7 @@ func newUpgradeFileWatcher(cfg *Config, logger log.Logger) (*fileWatcher, error)
|
||||
|
||||
func (fw *fileWatcher) Stop() {
|
||||
close(fw.cancel)
|
||||
fw.ticker.Stop()
|
||||
}
|
||||
|
||||
// MonitorUpdate pools the filesystem to check for new upgrade currentInfo.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user