소스 검색

Mutex in ctkServiceRegistration must be recursive.

Sascha Zelzer 14 년 전
부모
커밋
709857d164
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Libs/PluginFramework/ctkServiceRegistrationPrivate.cpp

+ 2 - 1
Libs/PluginFramework/ctkServiceRegistrationPrivate.cpp

@@ -26,7 +26,8 @@ ctkServiceRegistrationPrivate::ctkServiceRegistrationPrivate(
   ctkPluginPrivate* plugin, QObject* service,
   const ServiceProperties& props)
   : ref(1), service(service), plugin(plugin), reference(this),
-    properties(props), available(true), unregistering(false)
+    properties(props), available(true), unregistering(false),
+    propsLock(QMutex::Recursive)
 {
 
 }