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

Scope file handle to lifetime of BundleResource and BundleResourceStream #309

Open
jeffdiclemente opened this issue Oct 23, 2018 · 0 comments

Comments

@jeffdiclemente
Copy link
Member

This is a follow up enhancement which came from discussions in issue #299.

The idea is to keep the file handle open for the lifetime of the BundleResource and BundleResourceStream objects. The file handle will be closed once the last instance is destroyed.
Both these classes provide access to bundle resources and if no instances exist, there is no reason to maintain an open file handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant