mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
NativeScript: Fix initialization in wrong scope
Regression from d702d7b335c0c9305e75131770c0ea739b70d813 which broke javascript build. (cherry picked from commit 08cadc3d871f681ef1f951894345359a85ba190e)
This commit is contained in:
parent
53693e393d
commit
87476c057a
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user