Browse Source
Previously, we called destroy() to delete the temp file on failure only when catching an IOException, not a RuntimeException. Use a slightly different construction with a finally block to ensure it's always deleted on error (assuming the JVM is still healthy enough). Change-Id: Ie201f3cfc81099ee1cafed066632da76223cef1fstable-5.4
Dave Borowitz
6 years ago
1 changed files with 6 additions and 3 deletions
Loading…
Reference in new issue