diff --git a/ios/main.mm b/ios/main.mm index e52f3f8bf9f5..dd4bf235a442 100644 --- a/ios/main.mm +++ b/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); + // }); } }