Skip to content

Commit

Permalink
bugfix: Remove dangling wallet env instance
Browse files Browse the repository at this point in the history
  • Loading branch information
promag authored and furszy committed Jul 21, 2021
1 parent 524103f commit f765611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wallet/db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@ void CWalletDBWrapper::Flush(bool shutdown)
{
if (!IsDummy()) {
env->Flush(shutdown);
if (shutdown) env = nullptr;
}
}

Expand Down

0 comments on commit f765611

Please sign in to comment.