0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-08 10:31:50 -05:00

Merge pull request #3038 from Diapolo/Log_Shutdown

log start and end of Shutdown()
This commit is contained in:
Jeff Garzik 2013-10-03 06:16:06 -07:00
commit 5ad5e2d836

View file

@ -100,6 +100,7 @@ static CCoinsViewDB *pcoinsdbview;
void Shutdown()
{
LogPrintf("Shutdown : In progress...\n");
static CCriticalSection cs_Shutdown;
TRY_LOCK(cs_Shutdown, lockShutdown);
if (!lockShutdown) return;
@ -130,6 +131,7 @@ void Shutdown()
UnregisterAllWallets();
if (pwalletMain)
delete pwalletMain;
LogPrintf("Shutdown : done\n");
}
//