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 2019-07-07 19:58:46 +02:00
parent 16c500969a
commit da54c8d70c

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);
// });
}
}