We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f40755c commit e837c3bCopy full SHA for e837c3b
src/vs/workbench/browser/parts/globalCompositeBar.ts
@@ -351,6 +351,9 @@ export class AccountsActivityActionViewItem extends AbstractGlobalActivityAction
351
// Resolving the menu doesn't need to happen immediately, so we can wait until after the workbench has been restored
352
// and only run this when the system is idle.
353
await this.lifecycleService.when(LifecyclePhase.Restored);
354
+ if (this._store.isDisposed) {
355
+ return;
356
+ }
357
const disposable = this._register(runWhenIdle(async () => {
358
await this.doInitialize();
359
disposable.dispose();
0 commit comments