Skip to content

Commit

Permalink
Fix #102341
Browse files Browse the repository at this point in the history
Looks like it is possible for this to be called when initializing, before layoutBody is called.
  • Loading branch information
roblourens committed Jul 13, 2020
1 parent d47ddb6 commit b6cf8e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/search/browser/searchView.ts
Expand Up @@ -973,7 +973,7 @@ export class SearchView extends ViewPane {
}

private reLayout(): void {
if (this.isDisposed) {
if (this.isDisposed || !this.size) {
return;
}

Expand Down

0 comments on commit b6cf8e8

Please sign in to comment.