Skip to content

Commit

Permalink
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 authored and Charles-Gagnon committed Jul 14, 2020
1 parent 9ea4c5f commit 3c8db99
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 3c8db99

Please sign in to comment.