Skip to content

Commit d650719

Browse files
authored
Fixing ChatService undo bug (microsoft#253478)
During an undo operation, we should ensure that the request has completed its deletion process.
1 parent 12fb672 commit d650719

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/chat/common/chatServiceImpl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ export class ChatService extends Disposable implements IChatService {
614614
if (request.shouldBeRemovedOnSend.afterUndoStop) {
615615
request.response?.finalizeUndoState();
616616
} else {
617-
this.removeRequest(sessionId, request.id);
617+
await this.removeRequest(sessionId, request.id);
618618
}
619619
}
620620
}

0 commit comments

Comments
 (0)