Explorar o código

On plug-in activation, the dependencies must also be started (no lazy start).

Sascha Zelzer %!s(int64=14) %!d(string=hai) anos
pai
achega
d6891cf88e
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Libs/PluginFramework/ctkPluginPrivate.cpp

+ 2 - 1
Libs/PluginFramework/ctkPluginPrivate.cpp

@@ -369,7 +369,8 @@ void ctkPluginPrivate::startDependencies()
     }
 
     // We take the first plugin in the list (highest version number)
-    pl.front()->start();
+    // Immediately start the dependencies (no lazy activation)
+    pl.front()->start(0);
   }
 }