Browse Source

Fix bug where Unset halts ThrottleTimer

pull/1842/head
Jae Kwon 9 years ago
parent
commit
8dacd4172e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      throttle_timer.go

+ 1
- 0
throttle_timer.go View File

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


Loading…
Cancel
Save