summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-12-05 00:38:24 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-12-05 00:40:31 +0100
commitbbaf854956add0f09156eaecaaf7d5490b404264 (patch)
treecce75127abd1e315320895f56a2a250b05f97ead /modules
parent04bef80b42408f45d7838f9ef29f0e0553957475 (diff)
Fix unhandled exception re-thrown in the editor
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/mono_gd/gd_mono_utils.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.cpp b/modules/mono/mono_gd/gd_mono_utils.cpp
index 97fc4c57f9..d38e463df9 100644
--- a/modules/mono/mono_gd/gd_mono_utils.cpp
+++ b/modules/mono/mono_gd/gd_mono_utils.cpp
@@ -480,6 +480,7 @@ void set_pending_exception(MonoException *p_exc) {
#else
if (get_runtime_invoke_count() == 0) {
debug_unhandled_exception(p_exc);
+ return;
}
if (!mono_runtime_set_pending_exception(p_exc, false)) {