Skip to content

Commit

Permalink
fix: ext-host editors error on closing diff editors (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
erha19 authored Dec 30, 2021
1 parent 452deff commit e0ebe4a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export class MainThreadEditorService extends WithEventBus implements IMainThread
change.removed = [getTextEditorId(payload.group, payload.oldResource!.uri)];
if (payload.oldOpenType.type === 'diff') {
change.removed.push(
getTextEditorId(payload.group, (payload.oldResource as IDiffResource).metadata!.original),
getTextEditorId(payload.group, (payload.oldResource as IDiffResource).metadata!.original, true),
);
}
}
Expand Down

0 comments on commit e0ebe4a

Please sign in to comment.