aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-06-07 18:45:04 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-09-29 17:01:49 +0300
commitf3a17bbe5f7d23b6ecc20e363920492b50859dad (patch)
tree140d29c058436cdba68be9e467faf21343441044 /src/qt/bitcoin.h
parentb4e0d2c43181ad97c15b252e95181e2c3f6c1d2a (diff)
qt: Do not exit and re-enter main event loop during shutdown
Diffstat (limited to 'src/qt/bitcoin.h')
-rw-r--r--src/qt/bitcoin.h4
1 files changed, 2 insertions, 2 deletions
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);