Skip to content

fix: ensure that pin metadata files are closed after reading them in#353

Merged
nealrichardson merged 3 commits intorstudio:mainfrom
cpcloud:cleanup-after-pin-meta
Mar 13, 2026
Merged

fix: ensure that pin metadata files are closed after reading them in#353
nealrichardson merged 3 commits intorstudio:mainfrom
cpcloud:cleanup-after-pin-meta

Conversation

@cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Jan 14, 2026

This PR cleans up leaked file handles from calling _open_pin_meta (from Board.pin_meta calls). I observed a ResourceWarning coming from pin_meta when running the test suite of another library.

@nealrichardson nealrichardson force-pushed the cleanup-after-pin-meta branch from 61a97b1 to 3dc8c38 Compare March 13, 2026 17:53
Copy link
Collaborator

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

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

Thanks @cpcloud! I came across your PR this week and saw that CI was broken, so I fixed it upstream and rebased your PR, and it's all set now. Appreciate the fix!

@nealrichardson nealrichardson merged commit cfd8600 into rstudio:main Mar 13, 2026
10 checks passed
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