Skip to content

Commit 2c1aee6

Browse files
authored
Revert "Delay PreferencesActionsContribution (microsoft#159719)" (microsoft#160333)
This reverts commit 3b26f30.
1 parent a77d1c2 commit 2c1aee6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/vs/workbench/contrib/preferences/browser/preferences.contribution.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1243,9 +1243,7 @@ class PreferencesActionsContribution extends Disposable implements IWorkbenchCon
12431243
}
12441244

12451245
const workbenchContributionsRegistry = Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench);
1246-
// PreferencesActionsContribution is heavy because it runs through various details to determine which actions to render.
1247-
// We don't need it to start so early.
1248-
workbenchContributionsRegistry.registerWorkbenchContribution(PreferencesActionsContribution, 'PreferencesActionsContribution', LifecyclePhase.Restored);
1246+
workbenchContributionsRegistry.registerWorkbenchContribution(PreferencesActionsContribution, 'PreferencesActionsContribution', LifecyclePhase.Starting);
12491247
workbenchContributionsRegistry.registerWorkbenchContribution(PreferencesContribution, 'PreferencesContribution', LifecyclePhase.Starting);
12501248

12511249
registerEditorContribution(SettingsEditorContribution.ID, SettingsEditorContribution);

0 commit comments

Comments
 (0)