1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Fix unhandled exception re-thrown in the editor

This commit is contained in:
Ignacio Etcheverry
2020-12-05 00:38:24 +01:00
parent 04bef80b42
commit bbaf854956

View File

@@ -480,6 +480,7 @@ void set_pending_exception(MonoException *p_exc) {
#else #else
if (get_runtime_invoke_count() == 0) { if (get_runtime_invoke_count() == 0) {
debug_unhandled_exception(p_exc); debug_unhandled_exception(p_exc);
return;
} }
if (!mono_runtime_set_pending_exception(p_exc, false)) { if (!mono_runtime_set_pending_exception(p_exc, false)) {