Add exit if app->exec finishes.
This commit is contained in:
parent
02afff0279
commit
ef37ed983c
@ -8,7 +8,8 @@ namespace qodeIntegration {
|
||||
static QApplication* app;
|
||||
|
||||
bool QtRunLoopWrapper() {
|
||||
app->exec();
|
||||
int exitCode = app->exec();
|
||||
exit(exitCode);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user