aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2017-01-05 12:40:10 +0100
committerJonas Schnelli <[email protected]>2017-01-05 12:40:10 +0100
commit325e400f9ba89c6f5501c6cedd4dee979a3912b2 (patch)
tree7a3e225a694c1acea48466f2ebb45d63d07e0d07
parentAllow shutdown during LoadMempool, dump only when necessary (diff)
downloaddiscoin-325e400f9ba89c6f5501c6cedd4dee979a3912b2.tar.xz
discoin-325e400f9ba89c6f5501c6cedd4dee979a3912b2.zip
[Qt] Do proper shutdown
-rw-r--r--src/qt/bitcoin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index cfd0955a7..66bc5dced 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -444,6 +444,8 @@ void BitcoinApplication::requestShutdown()
delete clientModel;
clientModel = 0;
+ StartShutdown();
+
// Request shutdown from core thread
Q_EMIT requestedShutdown();
}