From ced3c248168941fbbd42d5a3807657a88be6a54e Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Tue, 1 Oct 2013 09:44:56 +0200 Subject: [PATCH] log start and end of Shutdown() - could be helpful when debugging shutdown related problems --- src/init.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); } //