diff --git a/throttle_timer.go b/throttle_timer.go index 5442d0cd..b19896d5 100644 --- a/throttle_timer.go +++ b/throttle_timer.go @@ -47,6 +47,7 @@ func (t *ThrottleTimer) Set() { } func (t *ThrottleTimer) Unset() { + atomic.StoreUint32(&t.isSet, 0) t.timer.Stop() }