소스 검색

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

[NativeScript] fix mutex double lock
Thomas Herzog 8 년 전
부모
커밋
64e26f98e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/nativescript/nativescript.cpp

+ 1 - 1
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
 	}
 }