iOS: If runloop_iterate returns an error, exit rather than crash. (#15791)
This commit is contained in:
parent
cb377f8232
commit
e6e0d07081
|
@ -69,6 +69,7 @@ static void rarch_draw_observer(CFRunLoopObserverRef observer,
|
||||||
ui_companion_cocoatouch_event_command(
|
ui_companion_cocoatouch_event_command(
|
||||||
NULL, CMD_EVENT_MENU_SAVE_CURRENT_CONFIG);
|
NULL, CMD_EVENT_MENU_SAVE_CURRENT_CONFIG);
|
||||||
main_exit(NULL);
|
main_exit(NULL);
|
||||||
|
exit(0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue