aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-01-06 09:28:46 -0800
committerPieter Wuille <[email protected]>2017-01-06 09:37:43 -0800
commit46b249e578e8a3dfbe85bc7253a12e82ef4b658b (patch)
tree282787752e6f7ddd76587ebc060f5e52cab3d3a4 /src/qt/bitcoin.cpp
parentMerge #9319: Break addnode out from the outbound connection limits. (diff)
parent[Qt] Do proper shutdown (diff)
downloaddiscoin-46b249e578e8a3dfbe85bc7253a12e82ef4b658b.tar.xz
discoin-46b249e578e8a3dfbe85bc7253a12e82ef4b658b.zip
Merge #9408: Allow shutdown during LoadMempool, dump only when necessary
325e400 [Qt] Do proper shutdown (Jonas Schnelli) 9479f8d Allow shutdown during LoadMempool, dump only when necessary (Jonas Schnelli)
Diffstat (limited to 'src/qt/bitcoin.cpp')
-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 16b589375..72f5f4aac 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();
}