瀏覽代碼

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);
   }
 }