Browse Source

Merge pull request #3038 from Diapolo/Log_Shutdown

log start and end of Shutdown()
0.10
Jeff Garzik 11 years ago
parent
commit
5ad5e2d836
  1. 2
      src/init.cpp

2
src/init.cpp

@ -100,6 +100,7 @@ static CCoinsViewDB *pcoinsdbview; @@ -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() @@ -130,6 +131,7 @@ void Shutdown()
UnregisterAllWallets();
if (pwalletMain)
delete pwalletMain;
LogPrintf("Shutdown : done\n");
}
//

Loading…
Cancel
Save