NativeScript: Fix initialization in wrong scope
Regression fromd702d7b335
which broke javascript build. (cherry picked from commit08cadc3d87
)
This commit is contained in:
parent
53693e393d
commit
87476c057a
|
@ -853,8 +853,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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue