do not preload service for light

GitOrigin-RevId: 091fc700c22e81e2d770f98a768bb09d6764f084
This commit is contained in:
Vladimir Krivosheev
2019-09-13 07:12:19 +00:00
committed by intellij-monorepo-bot
parent ee6b697c8c
commit ccf995a8a8
@@ -261,7 +261,8 @@ public class ProjectImpl extends PlatformComponentManagerImpl implements Project
Application application = ApplicationManager.getApplication();
// before components
if (!isDefault()) {
//noinspection TestOnlyProblems
if (!isDefault() && !isLight()) {
Activity activity = ParallelActivity.APP_INIT.start("preload project services");
preloadServices(PluginManagerCore.getLoadedPlugins())
.whenComplete((o, throwable) -> {