Преглед на файлове

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)
 {
 
 }