1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

C#: Fix crash with DisposablesTracker_OnGodotShuttingDown

This commit is contained in:
RedworkDE
2023-06-12 21:59:48 +02:00
parent a3c49ad2f0
commit d515fcc47a
2 changed files with 4 additions and 6 deletions

View File

@@ -534,12 +534,6 @@ GDMono::GDMono() {
GDMono::~GDMono() {
finalizing_scripts_domain = true;
if (is_runtime_initialized()) {
if (GDMonoCache::godot_api_cache_updated) {
GDMonoCache::managed_callbacks.DisposablesTracker_OnGodotShuttingDown();
}
}
if (hostfxr_dll_handle) {
OS::get_singleton()->close_dynamic_library(hostfxr_dll_handle);
}