mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Experimentally revert a small part of #12094, ios external display support, that seemed to break exit. See #12140.
This commit is contained in:
parent
16c500969a
commit
da54c8d70c
1 changed files with 6 additions and 4 deletions
10
ios/main.mm
10
ios/main.mm
|
@ -61,10 +61,12 @@ bool System_GetPropertyBool(SystemProperty prop) {
|
|||
|
||||
void System_SendMessage(const char *command, const char *parameter) {
|
||||
if (!strcmp(command, "finish")) {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[sharedViewController shutdown];
|
||||
exit(0);
|
||||
});
|
||||
exit(0);
|
||||
// The below seems right, but causes hangs. See #12140.
|
||||
// dispatch_async(dispatch_get_main_queue(), ^{
|
||||
// [sharedViewController shutdown];
|
||||
// exit(0);
|
||||
// });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue