aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <[email protected]>2013-10-01 09:44:56 +0200
committerPhilip Kaufmann <[email protected]>2013-10-02 08:36:47 +0200
commitced3c248168941fbbd42d5a3807657a88be6a54e (patch)
treeb238302c8db2a4c46c700ada30e423efa14d1df0 /src/init.cpp
parentMerge branch 'pwalletmain' - checking pwalletMain for NULL, (diff)
downloaddiscoin-ced3c248168941fbbd42d5a3807657a88be6a54e.tar.xz
discoin-ced3c248168941fbbd42d5a3807657a88be6a54e.zip
log start and end of Shutdown()
- could be helpful when debugging shutdown related problems
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 1f6826413..e75e981a5 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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");
}
//