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

Close weld.properties in finally block #1953

Merged
merged 1 commit into from Dec 9, 2019

Conversation

benjamin-confino
Copy link
Contributor

@benjamin-confino benjamin-confino commented Dec 7, 2019

This PR closes the InputStream for the weld.properties file in a finally block after the file is read. This will help avoid integration problems when weld is integrated into servers that expect files to be closed quickly after use.

@manovotn manovotn merged commit c35957c into weld:2.4 Dec 9, 2019
@manovotn
Copy link
Contributor

manovotn commented Dec 9, 2019

Thanks for contributing @benjamin-confino!

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