Skip to content

Commit 7bd5e03

Browse files
committed
RunningForABit => Eventually
1 parent 7cd8305 commit 7bd5e03

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎src/vs/platform/lifecycle/common/lifecycle.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export enum LifecyclePhase {
4949
Starting = 1,
5050
Restoring = 2,
5151
Running = 3,
52-
RunningForABit = 4,
52+
Eventually = 4,
5353
ShuttingDown = 5
5454
}
5555

‎src/vs/workbench/common/contributions.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class WorkbenchContributionsRegistry implements IWorkbenchContributionsRe
7272
this.instantiationService = instantiationService;
7373
this.lifecycleService = lifecycleService;
7474

75-
[LifecyclePhase.Starting, LifecyclePhase.Restoring, LifecyclePhase.Running, LifecyclePhase.RunningForABit, LifecyclePhase.ShuttingDown].forEach(phase => {
75+
[LifecyclePhase.Starting, LifecyclePhase.Restoring, LifecyclePhase.Running, LifecyclePhase.Eventually, LifecyclePhase.ShuttingDown].forEach(phase => {
7676
this.instantiateByPhase(instantiationService, lifecycleService, phase);
7777
});
7878
}

‎src/vs/workbench/electron-browser/shell.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export class WorkbenchShell {
205205
// Set lifecycle phase to `Runnning For A Bit` after a short delay
206206
let timeoutHandle = setTimeout(() => {
207207
timeoutHandle = void 0;
208-
this.lifecycleService.phase = LifecyclePhase.RunningForABit;
208+
this.lifecycleService.phase = LifecyclePhase.Eventually;
209209
}, 3000);
210210
this.toUnbind.push({
211211
dispose: () => {

‎src/vs/workbench/parts/cache/node/cache.contribution.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ import { NodeCachedDataManager } from 'vs/workbench/parts/cache/node/nodeCachedD
1111
import { LifecyclePhase } from 'vs/platform/lifecycle/common/lifecycle';
1212

1313
// Register NodeCachedDataManager Contribution
14-
Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench).registerWorkbenchContribution(NodeCachedDataManager, LifecyclePhase.RunningForABit);
14+
Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench).registerWorkbenchContribution(NodeCachedDataManager, LifecyclePhase.Eventually);

‎src/vs/workbench/parts/stats/node/stats.contribution.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ import { WorkspaceStats } from 'vs/workbench/parts/stats/node/workspaceStats';
1111
import { LifecyclePhase } from 'vs/platform/lifecycle/common/lifecycle';
1212

1313
// Register Workspace Stats Contribution
14-
Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench).registerWorkbenchContribution(WorkspaceStats, LifecyclePhase.RunningForABit);
14+
Registry.as<IWorkbenchContributionsRegistry>(WorkbenchExtensions.Workbench).registerWorkbenchContribution(WorkspaceStats, LifecyclePhase.Eventually);

0 commit comments

Comments
 (0)