Skip to content

Commit

Permalink
Exit from the kvlog goroutine when closing
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Mar 9, 2021
1 parent d4a981f commit a24f9d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/backupds/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (d *Datastore) startLog(logdir string) error {
if err := l.Close(); err != nil {
log.Errorw("failed to close log", "error", err)
}
return
}
}
}()
Expand Down

0 comments on commit a24f9d5

Please sign in to comment.