You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix unhandled exception re-thrown in the editor
(cherry picked from commit bbaf854956)
This commit is contained in:
committed by
Rémi Verschelde
parent
c5acdfb5f5
commit
2725ce6798
@@ -442,6 +442,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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user