Browse Source

Mutex in ctkServiceRegistration must be recursive.

Sascha Zelzer 14 years ago
parent
commit
709857d164
1 changed files with 2 additions and 1 deletions
  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)
 {
 
 }