Fix bug where Unset halts ThrottleTimer

This commit is contained in:
Jae Kwon 2016-01-11 17:12:38 -08:00
parent c58b1cbf8a
commit 8dacd4172e
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ func (t *ThrottleTimer) Set() {
} }
func (t *ThrottleTimer) Unset() { func (t *ThrottleTimer) Unset() {
atomic.StoreUint32(&t.isSet, 0)
t.timer.Stop() t.timer.Stop()
} }