فهرست منبع

Fix unhandled exception re-thrown in the editor

(cherry picked from commit bbaf854956add0f09156eaecaaf7d5490b404264)
Ignacio Etcheverry 4 سال پیش
والد
کامیت
2725ce6798
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      modules/mono/mono_gd/gd_mono_utils.cpp

+ 1 - 0
modules/mono/mono_gd/gd_mono_utils.cpp

@@ -442,6 +442,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)) {