-
-
Couldn't load subscription status.
- Fork 774
Open
Labels
Description
Bug Report
Description of the Bug
In the file WebViewYouTubePlayer.kt, the function readHTMLFromUTF8File has an issue where resources are not properly released.
The bufferedReaderis created inside the inputStream.use { ... } code block.
The bufferedReaderis a local variable, defined within the scope of the inputStream.use block.
When this code block ends the variable bufferedReadergoes out of scope.
Although bufferedReader will eventually be garbage collected after going out of scope, it is not explicitly closed while it is still in use.