This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
tendermint
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
221
Wiki
Activity
Browse Source
Fix bug where Unset halts ThrottleTimer
pull/1842/head
Jae Kwon
9 years ago
parent
c58b1cbf8a
commit
8dacd4172e
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
)
}
Write
Preview
Loading…
Cancel
Save