summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-07-27 14:57:42 +0200
committerGitHub <noreply@github.com>2017-07-27 14:57:42 +0200
commit64e26f98e24a267b3a3676671d69e9cc9e5830b9 (patch)
treec1f75b231af632b60d189a51ac1a4dd5f3d9572d /modules
parent3c53b3560fe1ae6b476cf6941ca0d7c79e0093a7 (diff)
parentaae8accadd48c397ee9a714e6b114321c6208ab3 (diff)
Merge pull request #9911 from karroffel/nativescript-init-call
[NativeScript] fix mutex double lock
Diffstat (limited to 'modules')
-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 cb38768f32..0a070988ac 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
}
}