mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-10 05:50:19 +00:00
Fix bug where Unset halts ThrottleTimer
This commit is contained in:
@@ -47,6 +47,7 @@ func (t *ThrottleTimer) Set() {
|
||||
}
|
||||
|
||||
func (t *ThrottleTimer) Unset() {
|
||||
atomic.StoreUint32(&t.isSet, 0)
|
||||
t.timer.Stop()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user