Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Ensure we fail if we cannot close file #615

Merged
merged 2 commits into from Jun 15, 2018

Conversation

mravn-google
Copy link
Contributor

OutputStream.flush is not guaranteed to move bytes all the way to storage media, so if OutputStream.close fails, we need to return null.

Sigh. Try-with-resources and java.nio.file.Files wft!

Follow-up of #513

@mravn-google mravn-google merged commit 103cf0f into flutter:master Jun 15, 2018
@mravn-google mravn-google deleted the fix_java_io branch June 15, 2018 15:09
@wreppun
Copy link
Contributor

wreppun commented Jul 26, 2018

@mravn-google , what's the process around releasing plugin versions? Do they go out en masse at scheduled intervals, or is there a way to politely request a release (in this case, 0.4.6)?

@goderbauer
Copy link
Member

@wreppun I just published it. Sorry for the delay.

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