Skip to content

fix(ai-chat): abort in-flight Claude query on destroySession#2951

Merged
abose merged 2 commits into
mainfrom
ai
May 28, 2026
Merged

fix(ai-chat): abort in-flight Claude query on destroySession#2951
abose merged 2 commits into
mainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented May 28, 2026

destroySession was nulling currentAbortController without calling .abort() on it first, so clicking "+ New" while the AI was streaming left the Claude query churning in the background. Now mirrors the resumeSession path: abort first, then null. Adds i18n strings for the new "AI is working" confirmation dialogs surfaced by the chat panel when New / history-resume interrupt a streaming run.

abose added 2 commits May 28, 2026 17:45
destroySession was nulling currentAbortController without calling
.abort() on it first, so clicking "+ New" while the AI was streaming
left the Claude query churning in the background. Now mirrors the
resumeSession path: abort first, then null. Adds i18n strings for the
new "AI is working" confirmation dialogs surfaced by the chat panel
when New / history-resume interrupt a streaming run.
@sonarqubecloud
Copy link
Copy Markdown

@abose abose merged commit a4918e9 into main May 28, 2026
9 of 21 checks passed
@abose abose deleted the ai branch May 28, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant