Add exit if app->exec finishes.

This commit is contained in:
Atul R 2020-02-14 21:34:41 +01:00
parent 02afff0279
commit ef37ed983c

View File

@ -8,7 +8,8 @@ namespace qodeIntegration {
static QApplication* app;
bool QtRunLoopWrapper() {
app->exec();
int exitCode = app->exec();
exit(exitCode);
return false;
}