You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fixes #47607 (forgotten statement in GDNative cleanup)
Co-authored-by: geekrelief <geekrelief@gmail.com>
(cherry picked from commit 0fe851da23)
This commit is contained in:
committed by
Rémi Verschelde
parent
ce4dec647c
commit
f64d9423a5
@@ -1534,6 +1534,8 @@ void NativeScriptLanguage::unregister_script(NativeScript *script) {
|
|||||||
C->get().destroy_func.free_func(C->get().destroy_func.method_data);
|
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);
|
Map<String, Ref<GDNative> >::Element *G = library_gdnatives.find(script->lib_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user