diff --git a/src/vs/workbench/contrib/timeline/browser/timelinePane.ts b/src/vs/workbench/contrib/timeline/browser/timelinePane.ts index c7c9cc7f99b..7219c0991f1 100644 --- a/src/vs/workbench/contrib/timeline/browser/timelinePane.ts +++ b/src/vs/workbench/contrib/timeline/browser/timelinePane.ts @@ -883,6 +883,7 @@ export class TimelinePane extends ViewPane { override setVisible(visible: boolean): void { if (visible) { this.extensionService.activateByEvent('onView:timeline'); + this.visibilityDisposables?.dispose(); this.visibilityDisposables = new DisposableStore(); this.editorService.onDidActiveEditorChange(this.onActiveEditorChanged, this, this.visibilityDisposables);