Skip to content

Prevent double continuation resumption in client #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattt
Copy link
Contributor

@mattt mattt commented May 12, 2025

This PR fixes a race condition in the MCP client where request continuations could be resumed twice during network failures, causing "SWIFT TASK CONTINUATION MISUSE" crashes.

Consolidate request removal and continuation resumption logic to ensure each request's continuation is resumed exactly once, preventing "SWIFT TASK CONTINUATION MISUSE" errors during network failures.
@mattt mattt marked this pull request as draft May 12, 2025 10:39
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