Skip to content
Permalink
Browse files

Experimentally revert a small part of #12094, ios external display su…

…pport, that seemed to break exit. See #12140.
  • Loading branch information...
hrydgard committed Jul 7, 2019
1 parent 16c5009 commit da54c8d70c7f0962831ff0f0628afa931d1f2f1f
Showing with 6 additions and 4 deletions.
  1. +6 −4 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);
// });
}
}

0 comments on commit da54c8d

Please sign in to comment.
You can’t perform that action at this time.