mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
flush wal group on stop
Refs #1659 Refs https://github.com/tendermint/tmlibs/pull/217
This commit is contained in:
@ -106,8 +106,8 @@ func (wal *baseWAL) OnStart() error {
|
||||
}
|
||||
|
||||
func (wal *baseWAL) OnStop() {
|
||||
wal.BaseService.OnStop()
|
||||
wal.group.Stop()
|
||||
wal.group.Close()
|
||||
}
|
||||
|
||||
// Write is called in newStep and for each receive on the
|
||||
|
Reference in New Issue
Block a user