diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2013-10-01 09:44:56 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-11-26 14:00:47 +0100 |
commit | 633d95ec222db340242410a581e65805eb863af9 (patch) | |
tree | e4e0da4e7bc4b9ddf2b60e332c01e5e2fae68744 /src | |
parent | 3e89dbb132a211ebb94bdc3b626f3c6c1d0b29dc (diff) |
log start and end of Shutdown()
- could be helpful when debugging shutdown related problems
Rebased-by: Warren Togami <wtogami@gmail.com>
Rebased-from: ced3c248168941fbbd42d5a3807657a88be6a54e
Diffstat (limited to 'src')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 59bf32ecac..91e1334923 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -89,6 +89,7 @@ static CCoinsViewDB *pcoinsdbview; void Shutdown() { + printf("Shutdown : In progress...\n"); static CCriticalSection cs_Shutdown; TRY_LOCK(cs_Shutdown, lockShutdown); if (!lockShutdown) return; @@ -114,6 +115,7 @@ void Shutdown() boost::filesystem::remove(GetPidFile()); UnregisterWallet(pwalletMain); delete pwalletMain; + printf("Shutdown : done\n"); } // |