Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/integrations/editor/DiffViewProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,9 @@ export class DiffViewProvider {
}

// close editor if open?
async reset() {
async reset() {
// Ensure any diff views opened by this provider are closed to release memory
await this.closeAllDiffViews();
this.editType = undefined
this.isEditing = false
this.originalContent = undefined
Expand Down
Loading