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
consensus: stop wal
pull/1843/head
v0.22.0-rc1
Ethan Buchman
7 years ago
parent
3a0dff7db2
commit
af703620d4
1 changed files
with
1 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
consensus/state.go
+ 1
- 4
consensus/state.go
View File
@ -320,10 +320,7 @@ func (cs *ConsensusState) OnStop() {
cs
.
timeoutTicker
.
Stop
(
)
// Make BaseService.Wait() wait until cs.wal.Wait()
if
cs
.
IsRunning
(
)
{
cs
.
wal
.
Wait
(
)
}
cs
.
wal
.
Stop
(
)
}
// Wait waits for the the main routine to return.
Write
Preview
Loading…
Cancel
Save