Skip to content

fix: close open file handles in pin_download#208

Merged
isabelizimm merged 1 commit intorstudio:mainfrom
cpcloud:close-files-in-pin-download
Aug 15, 2023
Merged

fix: close open file handles in pin_download#208
isabelizimm merged 1 commit intorstudio:mainfrom
cpcloud:close-files-in-pin-download

Conversation

@cpcloud
Copy link
Contributor

@cpcloud cpcloud commented Aug 9, 2023

This PR closes open file handles to avoid resource leakage from only accessing the file name.

Copy link
Collaborator

@isabelizimm isabelizimm left a comment

Choose a reason for hiding this comment

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

Good catch! Thanks for this change 🙌 I'll plan to merge once CI passes.

@isabelizimm isabelizimm merged commit 917ca3a into rstudio:main Aug 15, 2023
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