Skip to content
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

Ensure media element references are removed after calling detachMedia #6249

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Feb 28, 2024

This PR will...

Remove media element when calling detachMedia (on MEDIA_DETACHING) and add tests to cover that media property references to the element are removed from core components and network controllers.

Why is this Pull Request needed?

I kept finding references to media that were only removed on destroy. Detaching the element should remove all references to it.

Are there any points in the code the reviewer needs to double check?

Resolves issues:

Checklist

  • changes have been done against master branch, and PR does not conflict
  • new unit / functional tests have been added (whenever applicable)
  • API or design changes are documented in API.md

@robwalch robwalch added this to the 1.6.0 milestone Feb 28, 2024
@robwalch robwalch merged commit 08fdaa8 into master Mar 1, 2024
16 checks passed
@robwalch robwalch deleted the bugfix/detach-media branch March 1, 2024 17:33
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.

1 participant