Skip to content

Commit 505389f

Browse files
committed
We should post state to webview at the end of RooCodeAPI.clearCurrentTask
1 parent f1efeca commit 505389f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/exports/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
6161

6262
public async clearCurrentTask(lastMessage?: string) {
6363
await this.provider.finishSubTask(lastMessage)
64+
await this.provider.postStateToWebview()
6465
}
6566

6667
public async cancelCurrentTask() {

0 commit comments

Comments
 (0)