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

Improve JSON Deserialization / Fix dangling file handles #69

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

shartte
Copy link
Contributor

@shartte shartte commented Dec 8, 2023

Fix JSON serialization not closing the InputStream in some cases, as well as not setting the UTF-8 character set explicitly (and thus falling back to the default platform encoding).

This sometimes caused the version manifest file to be left open, causing subsequent updates to it to fail with access denied exceptions on Windows.

…well as not setting the UTF-8 character set explicitly (and thus falling back to the default platform encoding).
@shartte shartte force-pushed the fix-io-stream-closure branch from d0ddad6 to d8eb5a5 Compare December 8, 2023 14:16
@marchermans marchermans merged commit 0882c21 into neoforged:NG_7.0 Dec 8, 2023
2 checks passed
@shartte shartte deleted the fix-io-stream-closure branch December 8, 2023 16:22
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