Fix bug where Unset halts ThrottleTimer
This commit is contained in:
parent
c58b1cbf8a
commit
8dacd4172e
|
@ -47,6 +47,7 @@ func (t *ThrottleTimer) Set() {
|
|||
}
|
||||
|
||||
func (t *ThrottleTimer) Unset() {
|
||||
atomic.StoreUint32(&t.isSet, 0)
|
||||
t.timer.Stop()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue