Skip to content

Commit

Permalink
Experimentally revert a small part of #12094, ios external display su…
Browse files Browse the repository at this point in the history
…pport, that seemed to break exit. See #12140.
  • Loading branch information
hrydgard committed Jul 7, 2019
1 parent 16c5009 commit da54c8d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ios/main.mm
Expand Up @@ -61,10 +61,12 @@ bool System_GetPropertyBool(SystemProperty prop) {


void System_SendMessage(const char *command, const char *parameter) { void System_SendMessage(const char *command, const char *parameter) {
if (!strcmp(command, "finish")) { if (!strcmp(command, "finish")) {
dispatch_async(dispatch_get_main_queue(), ^{ exit(0);
[sharedViewController shutdown]; // The below seems right, but causes hangs. See #12140.
exit(0); // dispatch_async(dispatch_get_main_queue(), ^{
}); // [sharedViewController shutdown];
// exit(0);
// });
} }
} }


Expand Down

0 comments on commit da54c8d

Please sign in to comment.