Actions
Bug #595
closedClosing a tab does not clear the audio buffer
Start date:
08/03/2020
Due date:
% Done:
0%
Estimated time:
Description
This can sometimes be demonstrated by closing a tab playing a YouTube video.
Actions
Added by Soren Stoutner over 4 years ago. Updated about 4 years ago.
0%
Description
This can sometimes be demonstrated by closing a tab playing a YouTube video.
This will time out after a while, so you can't listen to music forever this way. In my testing, I have not seen this play for longer than 5 minutes.
In my testing in the past, this has been because the audio is buffered by an OS component. Even when the WebView was destroyed, that buffered data was retained, and would play out. However, none of my testing on my current devices now behave that way, which makes me think it was fixed by an update to WebView.
Just to be sure, I am going to manually pause the WebView and the JavaScript timers before deleting a tab.
After fixing this bug, I experienced similar behavior once, which is described at https://redmine.stoutner.com/issues/638. If anyone can reliably reproduce this, it would be very helpful in figuring out what is going on.