Skip to content

feat(gax): support explicit client shutdown - #649

Draft
coryan wants to merge 1 commit into
googleapis:mainfrom
coryan:feat-gax-http-client-shutdown
Draft

feat(gax): support explicit client shutdown#649
coryan wants to merge 1 commit into
googleapis:mainfrom
coryan:feat-gax-http-client-shutdown

Conversation

@coryan

@coryan coryan commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Add explicit shutdown() to _HTTPClientProtocol, HTTPClientHolder, and _HTTPClient for deterministic resource cleanup.

Motived by #647

Add explicit shutdown() to _HTTPClientProtocol, HTTPClientHolder,
and _HTTPClient for deterministic resource cleanup.
@coryan
coryan marked this pull request as ready for review September 4, 2026 13:44
@coryan
coryan requested a review from a team as a code owner September 4, 2026 13:44
state = nil
return client
}
if let client {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This (second/third) let looks odd to me, but maybe it's actually correct.

@coryan
coryan marked this pull request as draft September 4, 2026 18:25
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.

2 participants