fix(core): handle uncaught exceptions from main.py

[no changelog]
pull/3518/head
Martin Milata 5 months ago committed by matejcik
parent 5dc193a552
commit 3c7a6dd68a

@ -219,6 +219,9 @@ int main(void) {
printf("CORE: Main script finished, cleaning up\n");
mp_deinit();
// Python code shouldn't ever exit, avoid black screen if it does
error_shutdown("INTERNAL ERROR", "(PE)");
return 0;
}

Loading…
Cancel
Save