Skip to content

Commit 23b524f

Browse files
committed
Fix Browser View not found
1 parent e898ef6 commit 23b524f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/vs/workbench/contrib/browserView/common/browserView.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,9 @@ export class BrowserViewModel extends Disposable implements IBrowserViewModel {
439439

440440
async setVisible(visible: boolean): Promise<void> {
441441
this._visible = visible; // Set optimistically so model is in sync immediately
442+
if (this._store.isDisposed) {
443+
return;
444+
}
442445
return this.browserViewService.setVisible(this.id, visible);
443446
}
444447

0 commit comments

Comments
 (0)