mirror of
https://github.com/godotengine/godot.git
synced 2025-01-19 16:31:24 +00:00
[GDnative] fix crash at cleanup time when singleton_gdnatives is not empty
This commit is contained in:
parent
b9702991a1
commit
6363bcf209
@ -247,6 +247,7 @@ void unregister_gdnative_types() {
|
||||
|
||||
singleton_gdnatives[i]->terminate();
|
||||
}
|
||||
singleton_gdnatives.clear();
|
||||
|
||||
unregister_nativescript_types();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user