MCPcopy Create free account
hub / github.com/DNAProject/DNA / stopAllTimers

Function stopAllTimers

consensus/vbft/event_timer.go:104–108  ·  view source on GitHub ↗
(timers map[uint32]*time.Timer)

Source from the content-addressed store, hash-verified

102}
103
104func stopAllTimers(timers map[uint32]*time.Timer) {
105 for _, t := range timers {
106 t.Stop()
107 }
108}
109
110func (self *EventTimer) stop() {
111 self.lock.Lock()

Callers 1

stopMethod · 0.85

Calls 1

StopMethod · 0.65

Tested by

no test coverage detected