Skip to content

fix(connection): avoid orphaned protocol Futures on error and teardown - #3166

Draft
Skn0tt wants to merge 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-repro-issue-3165
Draft

fix(connection): avoid orphaned protocol Futures on error and teardown#3166
Skn0tt wants to merge 1 commit into
microsoft:mainfrom
Skn0tt:skn0tt-repro-issue-3165

Conversation

@Skn0tt

@Skn0tt Skn0tt commented Aug 3, 2026

Copy link
Copy Markdown
Member

fixes #3165

Register callbacks only after a successful transport send, and reject
in-flight calls from transport errors via cleanup so sends only await
their own future.

Fixes: microsoft#3165

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9c79b2bb-e5b2-4a5e-af1a-ba154870e814
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.

[Bug]: 1.62.0 regresion - "Future exception was never retrieved" error when locator method raises a TypeError

1 participant