We should post state to webview at the end of RooCodeAPI.clearCurrentTask() (#1874)

We should post state to webview at the end of RooCodeAPI.clearCurrentTask
This commit is contained in:
Wojciech Kordalski 2025-04-01 05:53:55 +02:00 committed by GitHub
parent aea9540cc0
commit 5d993845b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,6 +60,7 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
public async clearCurrentTask(lastMessage?: string) {
await this.provider.finishSubTask(lastMessage)
await this.provider.postStateToWebview()
}
public async cancelCurrentTask() {