From f3a17bbe5f7d23b6ecc20e363920492b50859dad Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 7 Jun 2021 18:45:04 +0300 Subject: qt: Do not exit and re-enter main event loop during shutdown --- src/qt/bitcoin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/qt/bitcoin.h') diff --git a/src/qt/bitcoin.h b/src/qt/bitcoin.h index ed2f26b7f3..6c2c1c9ebc 100644 --- a/src/qt/bitcoin.h +++ b/src/qt/bitcoin.h @@ -56,8 +56,6 @@ public: /// Request core initialization void requestInitialize(); - /// Request core shutdown - void requestShutdown(); /// Get process return value int getReturnValue() const { return returnValue; } @@ -73,6 +71,8 @@ public: public Q_SLOTS: void initializeResult(bool success, interfaces::BlockAndHeaderTipInfo tip_info); + /// Request core shutdown + void requestShutdown(); void shutdownResult(); /// Handle runaway exceptions. Shows a message box with the problem and quits the program. void handleRunawayException(const QString &message); -- cgit v1.2.3