-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removeAllListeners prevents destroy from functioning properly #6761
Comments
|
Do not call |
This issue can be categorized as a bug if you change the title to “ It’s a good catch and something worth looking into improving. I don't believe we have a documented method for removing only external listeners. That is not a supporter feature. |
Thanks! Title changed to identify a bug in this issue. |
What version of Hls.js are you using?
1.5.15
What browser (including version) are you using?
128.0.6613.138 (Official Build) (arm64)
What OS (including version) are you using?
macOS 15
Test stream
https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8
Configuration
Additional player setup steps
Calling hls.destroy() doesn't detach previously attached html video element.
In case where same
Checklist
Steps to reproduce
Example code to reproduce issue:
HTML:
JS:
Expected behaviour
No errors
What actually happened?
Errors in console produced by "hanging" destroyed hls.js instance.
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: