提交 32942fd9 编写于 作者: R Rob Lourens

Avoid firing unnecessary SearchResult changed events

上级 c08ed01d
......@@ -362,7 +362,7 @@ export class SearchResult extends Disposable {
fileMatch.onDispose(() => disposable.dispose());
}
});
if (!silent) {
if (!silent && changed.length) {
this._onChange.fire({ elements: changed, added: true });
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册