Merge pull request #11952 from touilleMan/fix-crash-gdnative

[GDnative] fix crash at cleanup time when singleton_gdnatives is not empty
This commit is contained in:
Thomas Herzog 2017-10-09 01:24:21 +02:00 committed by GitHub
commit dc6bb74c46

View file

@ -247,6 +247,7 @@ void unregister_gdnative_types() {
singleton_gdnatives[i]->terminate();
}
singleton_gdnatives.clear();
unregister_nativescript_types();