diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-02-25 21:51:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-25 21:51:11 +0100 |
commit | 7568a455397aeefc1e08600534ec4df279abab70 (patch) | |
tree | 2ae483b9c89320bacd7e6ad1939448d9741ba0d9 /modules/mono/csharp_script.cpp | |
parent | 125fc8cc4432d28e63da76c3a2aff655b1a7cc6b (diff) | |
parent | f37090ccf4f699800a43878273b8b94b5906f4bc (diff) | |
download | redot-engine-7568a455397aeefc1e08600534ec4df279abab70.tar.gz |
Merge pull request #17020 from neikeq/cs-api-asm-checks
Mono: Better versioning and gracefully unloading of Godot API assemblies
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r-- | modules/mono/csharp_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 6287e675d8..525b918b1f 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -456,7 +456,7 @@ Vector<ScriptLanguage::StackInfo> 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<StackInfo>(); MonoObject *stack_trace = mono_object_new(mono_domain_get(), CACHED_CLASS(System_Diagnostics_StackTrace)->get_mono_ptr()); |