From 325e400f9ba89c6f5501c6cedd4dee979a3912b2 Mon Sep 17 00:00:00 2001 From: Jonas Schnelli Date: Thu, 5 Jan 2017 12:40:10 +0100 Subject: [PATCH] [Qt] Do proper shutdown --- src/qt/bitcoin.cpp | 2 ++ 1 file changed, 2 insertions(+) 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(); }