aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-01 09:44:56 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-02 08:36:47 +0200
commitced3c248168941fbbd42d5a3807657a88be6a54e (patch)
treeb238302c8db2a4c46c700ada30e423efa14d1df0 /src/init.cpp
parent19e5ae7369de8ff556b2ea008850a62b1fde9a1b (diff)
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 1f6826413a..e75e981a57 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");
}
//