Skip to content

Commit

Permalink
bitdb needs to be closed before the automatic cleanup or else the cod…
Browse files Browse the repository at this point in the history
…ecvt of the path string (boost stuff) may have been deallocated causing aborts in MSVC
  • Loading branch information
ClaireDuSoleil committed Dec 8, 2013
1 parent 8a11f20 commit 9987452
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void Shutdown()
UnregisterAllWallets();
if (pwalletMain)
delete pwalletMain;
bitdb.Close();
LogPrintf("Shutdown : done\n");
}

Expand Down

0 comments on commit 9987452

Please sign in to comment.