Skip to content

feat(client): implement graceful shutdown for Client#543

Merged
0x676e67 merged 2 commits intomainfrom
client
Mar 27, 2026
Merged

feat(client): implement graceful shutdown for Client#543
0x676e67 merged 2 commits intomainfrom
client

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a close() method to both the asynchronous and blocking Client implementations, enabling explicit resource cleanup and request cancellation via tokio_util::CancellationToken. The NoGIL future wrapper was updated to support this cancellation, and project dependencies were adjusted, including an update to tokio 1.50.0. A review comment pointed out that the close() method in the blocking client incorrectly used an asynchronous example in its docstring.

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