mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
releasing memory after every diff edit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user