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
blockchain/v0: stop tickers on poolRoutine exit (
#5860
)
Fixes
#5841
.
pull/5867/head
Erik Grinaker
4 years ago
committed by
GitHub
parent
1e1d087494
commit
0555772d3a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
blockchain/v0/reactor.go
+ 3
- 0
blockchain/v0/reactor.go
View File
@ -277,6 +277,9 @@ func (bcR *BlockchainReactor) poolRoutine(stateSynced bool) {
didProcessCh
=
make
(
chan
struct
{
}
,
1
)
)
defer
trySyncTicker
.
Stop
(
)
defer
statusUpdateTicker
.
Stop
(
)
defer
switchToConsensusTicker
.
Stop
(
)
go
func
(
)
{
for
{
Write
Preview
Loading…
Cancel
Save