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

Android: Close input and output streams #11

Merged
merged 3 commits into from
Oct 10, 2023

Conversation

raphaelheinz
Copy link

This pull request adds functionality to close streams in Android as discussed in #10.

Previously, the streams were often not closed at function exit, which led to system warnings. If possible, try-with-resources is used. In more complex situations, close() is called manually in the finally block.

@birdofpreyru birdofpreyru merged commit 6feaea2 into birdofpreyru:master Oct 10, 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