Experimentally revert a small part of #12094, ios external display support, that seemed to break exit. See #12140.

This commit is contained in:
Henrik Rydgård committed 2019-07-07 20:01:31 +02:00
1 parent 16c500969a
commit da54c8d70c
1 file changed
+6 -4
+6 -4
View File
@@ -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);
// });
}
}