Răsfoiți Sursa

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

Fix unhandled exception re-thrown in the editor
Rémi Verschelde 4 ani în urmă
părinte
comite
45ecb21901
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      modules/mono/mono_gd/gd_mono_utils.cpp

+ 1 - 0
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)) {