提交 603e7457 编写于 作者: S Sandeep Somavarapu

Fix #58307

上级 085854cd
......@@ -125,7 +125,9 @@ export class ReplaceService implements IReplaceService {
}
}).then(editor => {
const disposable = fileMatch.onDispose(() => {
editor.input.dispose();
if (editor && editor.input) {
editor.input.dispose();
}
disposable.dispose();
});
this.updateReplacePreview(fileMatch).then(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册