mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-17 18:40:09 +00:00
Merge pull request #3038 from Diapolo/Log_Shutdown
log start and end of Shutdown()
This commit is contained in:
commit
5ad5e2d836
@ -100,6 +100,7 @@ static CCoinsViewDB *pcoinsdbview;
|
|||||||
|
|
||||||
void Shutdown()
|
void Shutdown()
|
||||||
{
|
{
|
||||||
|
LogPrintf("Shutdown : In progress...\n");
|
||||||
static CCriticalSection cs_Shutdown;
|
static CCriticalSection cs_Shutdown;
|
||||||
TRY_LOCK(cs_Shutdown, lockShutdown);
|
TRY_LOCK(cs_Shutdown, lockShutdown);
|
||||||
if (!lockShutdown) return;
|
if (!lockShutdown) return;
|
||||||
@ -130,6 +131,7 @@ void Shutdown()
|
|||||||
UnregisterAllWallets();
|
UnregisterAllWallets();
|
||||||
if (pwalletMain)
|
if (pwalletMain)
|
||||||
delete pwalletMain;
|
delete pwalletMain;
|
||||||
|
LogPrintf("Shutdown : done\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user