MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / stopConfigReloadTimer

Method stopConfigReloadTimer

internal/watcher/config_reload.go:20–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18)
19
20func (w *Watcher) stopConfigReloadTimer() {
21 w.configReloadMu.Lock()
22 if w.configReloadTimer != nil {
23 w.configReloadTimer.Stop()
24 w.configReloadTimer = nil
25 }
26 w.configReloadMu.Unlock()
27}
28
29func (w *Watcher) scheduleConfigReload() {
30 w.configReloadMu.Lock()

Callers 2

StopMethod · 0.95

Calls 1

StopMethod · 0.65

Tested by 1