Merge pull request #9911 from karroffel/nativescript-init-call

[NativeScript] fix mutex double lock
This commit is contained in:
Thomas Herzog 2017-07-27 14:57:42 +02:00 committed by GitHub
commit 64e26f98e2

View File

@ -792,7 +792,7 @@ NativeScriptInstance::~NativeScriptInstance() {
script->instance_owners.erase(owner); script->instance_owners.erase(owner);
#ifndef NO_THREADS #ifndef NO_THREADS
script->owners_lock->lock(); script->owners_lock->unlock();
#endif #endif
} }
} }