mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Fixed garbage collection of aborted tasks; handle if run from root directory then don’t read/write; fixed scroll to bottom; fix other small bugs
This commit is contained in:
@@ -220,7 +220,10 @@ export class SidebarProvider implements vscode.WebviewViewProvider {
|
||||
}
|
||||
|
||||
async clearTask() {
|
||||
this.claudeDev = undefined
|
||||
if (this.claudeDev) {
|
||||
this.claudeDev.abort = true // will stop any agentically running promises
|
||||
this.claudeDev = undefined // removes reference to it, so once promises end it will be garbage collected
|
||||
}
|
||||
await this.setClaudeMessages([])
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user