Skip to content

Commit 5d99384

Browse files
authored
We should post state to webview at the end of RooCodeAPI.clearCurrentTask() (RooCodeInc#1874)
We should post state to webview at the end of RooCodeAPI.clearCurrentTask
1 parent aea9540 commit 5d99384

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
@@ -60,6 +60,7 @@ export class API extends EventEmitter<RooCodeEvents> implements RooCodeAPI {
6060

6161
public async clearCurrentTask(lastMessage?: string) {
6262
await this.provider.finishSubTask(lastMessage)
63+
await this.provider.postStateToWebview()
6364
}
6465

6566
public async cancelCurrentTask() {

0 commit comments

Comments
 (0)