Browse Source

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

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