mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-08 03:07:53 +00:00
fix(WorkspaceTracker): Dispose FileSystemWatcher and other disposables to prevent resource leaks (#4237)
fix: auto patch for WorkspaceTracker_45
This commit is contained in:
parent
fe26c05dc9
commit
f561208146
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ class WorkspaceTracker {
|
|||
this.resetTimer = null
|
||||
}
|
||||
this.disposables.forEach((d) => d.dispose())
|
||||
this.disposables = [] // Clear the array
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue