Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix(android): fix a lot of leaks Streams and file descriptors needs to be closed when no longer used. I converted those to try-with-resources syntax, so they are automatically closed after the block ends. * fix(android) Ensure MediaMetadataRetriever is closed * MediaMetadataRetriever does not inherits AutoCloseable until API 29, so let's use a custom wrapper around it
- Loading branch information
Showing
3 changed files
with
76 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters