提交 c5a432c6 编写于 作者: S Sandeep Somavarapu

Fix #88293

上级 358b1ab5
......@@ -121,9 +121,10 @@ export class ReplaceService implements IReplaceService {
revealIfVisible: true
}
}).then(editor => {
const input = editor?.input;
const disposable = fileMatch.onDispose(() => {
if (editor && editor.input) {
editor.input.dispose();
if (input) {
input.dispose();
}
disposable.dispose();
});
......
......@@ -543,7 +543,7 @@ export class FolderMatch extends Disposable {
replace(match: FileMatch): Promise<any> {
return this.replaceService.replace([match]).then(() => {
this.doRemove(match, false, true);
this.doRemove(match);
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册