|
@@ -957,8 +957,8 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) {
|
|
|
|
|
|
NativeScriptLanguage::NativeScriptLanguage() {
|
|
NativeScriptLanguage::NativeScriptLanguage() {
|
|
NativeScriptLanguage::singleton = this;
|
|
NativeScriptLanguage::singleton = this;
|
|
- has_objects_to_register = false;
|
|
|
|
#ifndef NO_THREADS
|
|
#ifndef NO_THREADS
|
|
|
|
+ has_objects_to_register = false;
|
|
mutex = Mutex::create();
|
|
mutex = Mutex::create();
|
|
#endif
|
|
#endif
|
|
}
|
|
}
|