Skip to content

Commit 0aa111a

Browse files
committed
Delete watcher from map
1 parent c94247a commit 0aa111a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/workspacesProvider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
128128
oldWatcherIds.forEach((id) => {
129129
if (!reusedWatcherIds.includes(id)) {
130130
this.agentWatchers[id].dispose()
131+
delete this.agentWatchers[id]
131132
}
132133
})
133134

0 commit comments

Comments
 (0)