Navigation Menu

Skip to content
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

feat(pubsublite): set finalizer for PublisherClient #7109

Merged
merged 7 commits into from Dec 1, 2022

Conversation

tmdiep
Copy link
Contributor

@tmdiep tmdiep commented Nov 30, 2022

Mitigates PublisherClient.Stop not being called when the publisher is no longer used. Users must still call Stop to promptly shut down the publisher, as finalizers run after an arbitrary amount of time.

@tmdiep tmdiep requested review from a team and shollyman as code owners November 30, 2022 21:11
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: pubsublite Issues related to the Pub/Sub Lite API. labels Nov 30, 2022
@tmdiep tmdiep added the automerge Merge the pull request once unit tests and other checks pass. label Dec 1, 2022
@tmdiep tmdiep merged commit e648bd9 into googleapis:main Dec 1, 2022
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Dec 1, 2022
@tmdiep tmdiep deleted the finalizer branch December 1, 2022 21:02
gcf-merge-on-green bot pushed a commit that referenced this pull request Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the Pub/Sub Lite API. size: s Pull request size is small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants