Skip to content

fix: unload html5 audio nodes when switching songs - #502

Merged
aidewoode merged 1 commit into
masterfrom
fix/html5-audio-connection-leak
Aug 26, 2026
Merged

fix: unload html5 audio nodes when switching songs#502
aidewoode merged 1 commit into
masterfrom
fix/html5-audio-connection-leak

Conversation

@aidewoode

@aidewoode aidewoode commented Aug 26, 2026

Copy link
Copy Markdown
Member

In some cases, when user switch between songs, it will case whole page frozen. the root cause is
Chrome and Firefox cap concurrent HTTP/1.1 connections at 6 per origin. Once six parked audio elements fill the pool, the browser cannot issue any request to that origin. then total page freeze.

it will fix a part of this issue #485

@coveralls

coveralls commented Aug 26, 2026

Copy link
Copy Markdown

Coverage Report for CI Build 32942061497

Coverage remained the same at 100.0%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 1329
Covered Lines: 1329
Line Coverage: 100.0%
Coverage Strength: 145.36 hits per line

💛 - Coveralls

@aidewoode
aidewoode merged commit c01a778 into master Aug 26, 2026
4 checks passed
@aidewoode
aidewoode deleted the fix/html5-audio-connection-leak branch August 26, 2026 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants