mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #106502 from TCROC/fix-aot-crash
Fix crash on aot unloading
This commit is contained in:
commit
d57050c66d
1 changed files with 2 additions and 1 deletions
|
|
@ -615,7 +615,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