Merge pull request #44108 from neikeq/editor-fix-unhandled-exception-rethrown

Fix unhandled exception re-thrown in the editor
This commit is contained in:
Rémi Verschelde 2020-12-05 16:41:47 +01:00 committed by GitHub
commit 45ecb21901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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)) {