aboutsummaryrefslogtreecommitdiff
path: root/modules/nativescript/nativescript.cpp
diff options
context:
space:
mode:
authorKarroffel2017-07-27 14:55:07 +0200
committerKarroffel2017-07-27 14:56:47 +0200
commitaae8accadd48c397ee9a714e6b114321c6208ab3 (patch)
treec1f75b231af632b60d189a51ac1a4dd5f3d9572d /modules/nativescript/nativescript.cpp
parent3c53b3560fe1ae6b476cf6941ca0d7c79e0093a7 (diff)
downloadgodot-aae8accadd48c397ee9a714e6b114321c6208ab3.tar.gz
godot-aae8accadd48c397ee9a714e6b114321c6208ab3.tar.zst
godot-aae8accadd48c397ee9a714e6b114321c6208ab3.zip
Diffstat (limited to 'modules/nativescript/nativescript.cpp')
-rw-r--r--modules/nativescript/nativescript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nativescript/nativescript.cpp b/modules/nativescript/nativescript.cpp
index cb38768f3..0a070988a 100644
--- a/modules/nativescript/nativescript.cpp
+++ b/modules/nativescript/nativescript.cpp
@@ -792,7 +792,7 @@ NativeScriptInstance::~NativeScriptInstance() {
script->instance_owners.erase(owner);
#ifndef NO_THREADS
- script->owners_lock->lock();
+ script->owners_lock->unlock();
#endif
}
}