Explorar o código

Mutex in ctkServiceRegistration must be recursive.

Sascha Zelzer %!s(int64=14) %!d(string=hai) anos
pai
achega
709857d164
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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)
 {
 
 }