mirror of
https://github.com/godotengine/godot.git
synced 2025-01-10 12:11:05 +00:00
Fixes #47607 (forgotten statement in GDNative cleanup)
Co-authored-by: geekrelief <geekrelief@gmail.com>
This commit is contained in:
parent
29c7319f60
commit
0fe851da23
@ -1759,6 +1759,8 @@ void NativeScriptLanguage::unregister_script(NativeScript *script) {
|
||||
C->get().destroy_func.free_func(C->get().destroy_func.method_data);
|
||||
}
|
||||
}
|
||||
|
||||
library_classes.erase(script->lib_path);
|
||||
}
|
||||
|
||||
Map<String, Ref<GDNative>>::Element *G = library_gdnatives.find(script->lib_path);
|
||||
|
Loading…
Reference in New Issue
Block a user