From dde14e15c667d59f931bb8050b113fb564b578e4 Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Thu, 22 Feb 2018 13:13:51 +0100 Subject: Mono: Better versioning and gracefully unloading of Godot API assemblies (cherry picked from commit f37090ccf4f699800a43878273b8b94b5906f4bc) --- modules/mono/csharp_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mono/csharp_script.cpp') diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index fb4513657..c21b7f105 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -454,7 +454,7 @@ Vector CSharpLanguage::debug_get_current_stack_info() #ifdef DEBUG_ENABLED // Printing an error here will result in endless recursion, so we must be careful - if (!gdmono->is_runtime_initialized() || !GDMono::get_singleton()->get_api_assembly() || !GDMonoUtils::mono_cache.corlib_cache_updated) + if (!gdmono->is_runtime_initialized() || !GDMono::get_singleton()->get_core_api_assembly() || !GDMonoUtils::mono_cache.corlib_cache_updated) return Vector(); MonoObject *stack_trace = mono_object_new(mono_domain_get(), CACHED_CLASS(System_Diagnostics_StackTrace)->get_mono_ptr()); -- cgit v1.2.3-70-g09d2