Просмотр исходного кода

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

Sascha Zelzer лет назад: 14
Родитель
Сommit
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);
   }
 }