Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

fix: clean up resources on Watch close#1004

Merged
daniel-sanche merged 3 commits intomainfrom
close_resources
Jan 10, 2025
Merged

fix: clean up resources on Watch close#1004
daniel-sanche merged 3 commits intomainfrom
close_resources

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
@daniel-sanche daniel-sanche requested a review from a team 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
19 checks passed
@daniel-sanche daniel-sanche deleted the close_resources branch January 10, 2025 00:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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