diff options
| author | Rémi Verschelde | 2018-03-02 02:07:37 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2018-03-02 02:07:37 +0100 |
| commit | 08cadc3d871f681ef1f951894345359a85ba190e (patch) | |
| tree | 946aea1cea7135075d5f2768f9418a6019ee8343 /modules/gdnative/nativescript/nativescript.cpp | |
| parent | 334b6c68d35e001ce5e8eb8c1bfde7d446fd241c (diff) | |
| download | godot-08cadc3d871f681ef1f951894345359a85ba190e.tar.gz godot-08cadc3d871f681ef1f951894345359a85ba190e.tar.zst godot-08cadc3d871f681ef1f951894345359a85ba190e.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 3083ae7bb..5806ee3f3 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -957,8 +957,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 } |
