diff options
| author | Thomas Herzog | 2017-10-09 01:24:21 +0200 |
|---|---|---|
| committer | GitHub | 2017-10-09 01:24:21 +0200 |
| commit | dc6bb74c4638be6989dcb042895af9c75682f0c5 (patch) | |
| tree | f008e9ea7f72dbfeafc90eca8c6658191a929566 | |
| parent | ff28569d16ad1558484b3029ac2fd52f7a411ffe (diff) | |
| parent | 6363bcf209d90d2ff1baf1b22bb8d8c7c1d1b7fd (diff) | |
| download | godot-dc6bb74c4638be6989dcb042895af9c75682f0c5.tar.gz godot-dc6bb74c4638be6989dcb042895af9c75682f0c5.tar.zst godot-dc6bb74c4638be6989dcb042895af9c75682f0c5.zip | |
Merge pull request #11952 from touilleMan/fix-crash-gdnative
[GDnative] fix crash at cleanup time when singleton_gdnatives is not empty
Diffstat (limited to '')
| -rw-r--r-- | modules/gdnative/register_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/register_types.cpp b/modules/gdnative/register_types.cpp index 997c34204..059cd197d 100644 --- a/modules/gdnative/register_types.cpp +++ b/modules/gdnative/register_types.cpp @@ -247,6 +247,7 @@ void unregister_gdnative_types() { singleton_gdnatives[i]->terminate(); } + singleton_gdnatives.clear(); unregister_nativescript_types(); |
