fix crash on aot unloading
This commit is contained in:
parent
f2cc3f1275
commit
15c684aad9
1 changed files with 2 additions and 1 deletions
|
|
@ -539,7 +539,8 @@ void GDMono::initialize() {
|
|||
if (load_coreclr(coreclr_dll_handle)) {
|
||||
godot_plugins_initialize = initialize_coreclr_and_godot_plugins(runtime_initialized);
|
||||
} else {
|
||||
godot_plugins_initialize = try_load_native_aot_library(hostfxr_dll_handle);
|
||||
void *dll_handle = nullptr;
|
||||
godot_plugins_initialize = try_load_native_aot_library(dll_handle);
|
||||
if (godot_plugins_initialize != nullptr) {
|
||||
runtime_initialized = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue