diff options
| author | Rémi Verschelde | 2018-03-02 02:07:37 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-03-02 02:08:50 +0100 |
| commit | 87476c057a60f3ab6fc16ee1824d6b98990016a0 (patch) | |
| tree | dccb166b77af3be8fc14303326769b2e4a8081f3 /modules/gdnative/nativescript/nativescript.cpp | |
| parent | 53693e393d763a264f0577590c67cd5e6c5a3115 (diff) | |
| download | godot-87476c057a60f3ab6fc16ee1824d6b98990016a0.tar.gz godot-87476c057a60f3ab6fc16ee1824d6b98990016a0.tar.zst godot-87476c057a60f3ab6fc16ee1824d6b98990016a0.zip | |
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.cpp')
| -rw-r--r-- | modules/gdnative/nativescript/nativescript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index b5274732a..43b5b0002 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -853,8 +853,8 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) { NativeScriptLanguage::NativeScriptLanguage() { NativeScriptLanguage::singleton = this; - has_objects_to_register = false; #ifndef NO_THREADS + has_objects_to_register = false; mutex = Mutex::create(); #endif } |
