mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 19:13:40 +01:00
Qt: Use Qt's exit routine which returns exec() and allows clean exit.
This commit is contained in:
1 parent
edaea34df1
commit
94cdd4d609
1 file changed
+1
-4
+1
-4
@@ -56,11 +56,8 @@ std::string System_GetProperty(SystemProperty prop) {
|
||||
}
|
||||
|
||||
void System_SendMessage(const char *command, const char *parameter) {
|
||||
// TODO: Cleaner exit
|
||||
if (!strcmp(command, "finish")) {
|
||||
NativeShutdown();
|
||||
net::Shutdown();
|
||||
exit(0);
|
||||
qApp->exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user