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

fix: clean up resources on Watch close #1004

Merged
merged 3 commits into from
Jan 10, 2025
Merged

fix: clean up resources on Watch close #1004

merged 3 commits into from
Jan 10, 2025

Conversation

daniel-sanche
Copy link
Contributor

Fixes #985

clears resources associated with the Watch class when calling close on an active instance

I opened googleapis/python-api-core#769 to address the memory leak in api_core, but this change will address it for firestore while waiting for the upstream fix

@daniel-sanche daniel-sanche requested review from a team as code owners January 6, 2025 23:51
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Jan 6, 2025
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/python-firestore API. label Jan 6, 2025
@daniel-sanche daniel-sanche merged commit 6d68dcd into main Jan 10, 2025
22 checks passed
@daniel-sanche daniel-sanche deleted the close_resources branch January 10, 2025 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/python-firestore API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Watch instances not getting garbage collected
4 participants