diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-05 16:41:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-05 16:41:47 +0100 |
commit | 45ecb21901fb8e9763add66bdc5ca971b2a2072f (patch) | |
tree | d25ca89556a90c0fbc548aba586163a5a77b7df7 | |
parent | af61ad5e3639a4ee473077b818ef01c801f2e10f (diff) | |
parent | bbaf854956add0f09156eaecaaf7d5490b404264 (diff) |
Merge pull request #44108 from neikeq/editor-fix-unhandled-exception-rethrown
Fix unhandled exception re-thrown in the editor
-rw-r--r-- | modules/mono/mono_gd/gd_mono_utils.cpp | 1 |
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)) { |