qt: Do not exit and re-enter main event loop during shutdown

This commit is contained in:
Hennadii Stepanov committed 2021-09-29 17:01:49 +03:00
1 parent b4e0d2c431
commit f3a17bbe5f
6 files changed
+19 -11

No files matched your search

+2 -2
View File
@@ -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);