Explorar el Código

Used the wrong mutex to lock

Sascha Zelzer hace 13 años
padre
commit
f267cfe024
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Libs/PluginFramework/ctkPluginFramework.cpp

+ 1 - 1
Libs/PluginFramework/ctkPluginFramework.cpp

@@ -65,7 +65,7 @@ ctkPluginFrameworkEvent ctkPluginFramework::waitForStop(unsigned long timeout)
 {
   Q_D(ctkPluginFramework);
 
-  ctkPluginPrivate::Locker sync(&d->operationLock);
+  ctkPluginPrivate::Locker sync(&d->lock);
 
   // Already stopped?
   if ((d->state & (INSTALLED | RESOLVED)) == 0)