ソースを参照

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

Sascha Zelzer 14 年 前
コミット
d6891cf88e
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  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);
   }
 }