mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: remove duplicate registerListeners call in startNewTask
The setOnTabProviderCreated callback already registers listeners on tab providers created via openClineInNewTab. The explicit registerListeners call in startNewTask caused double event registration for tab providers created through that code path.
This commit is contained in:
parent
aa0064802e
commit
a6a9f1569a
1 changed files with 0 additions and 1 deletions
|
|
@ -186,7 +186,6 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
|
|||
await vscode.commands.executeCommand("workbench.action.closeAllEditors")
|
||||
|
||||
provider = await openClineInNewTab({ context: this.context, outputChannel: this.outputChannel })
|
||||
this.registerListeners(provider)
|
||||
} else {
|
||||
await vscode.commands.executeCommand(`${Package.name}.SidebarProvider.focus`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue