releasing memory after every diff edit

This commit is contained in:
Cline Evaluation
2025-05-11 22:55:51 -07:00
parent 33413e91c6
commit ce965db978
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": minor
---
Releasing memory after every diff edit to help fix grey screen webview crashes
@@ -433,6 +433,8 @@ export class DiffViewProvider {
// close editor if open?
async reset() {
// releasing memory by clearing the diff editor
await this.closeAllDiffViews()
this.editType = undefined
this.isEditing = false
this.originalContent = undefined