소스 검색

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