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 6aaffa0 commit a6d8816Copy full SHA for a6d8816
src/views/scmGroupedView.ts
@@ -80,8 +80,8 @@ export class ScmGroupedView implements Disposable {
80
if (!destroyTree) {
81
// Force a "refresh" of the tree to blank it out
82
this._cleared?.cancel();
83
- this._cleared = defer<void>();
84
if (this._tree?.visible) {
+ this._cleared = defer<void>();
85
this._onDidChangeTreeData?.fire(undefined);
86
await this._cleared.promise.catch(() => {}).finally(() => (this._cleared = undefined));
87
}
0 commit comments