提交 284fd4be 编写于 作者: I isidor

fixes #51381

上级 79ef09b5
......@@ -168,7 +168,7 @@ function saveAll(saveAllArguments: any, editorService: IEditorService, untitledE
editorGroupService.groups.forEach(g => {
g.editors.forEach(e => {
const resource = e.getResource();
if (untitledEditorService.isDirty(resource)) {
if (resource && untitledEditorService.isDirty(resource)) {
if (!groupIdToUntitledResourceInput.has(g.id)) {
groupIdToUntitledResourceInput.set(g.id, []);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册