Clear all CDM resources when switching to inactive state#541
Conversation
|
Pull request must be merged with a description containing the required fields, Summary: If there is no jira releated to this change, please put 'Jira: NO-JIRA'. Description can be changed by editing the top comment on your pull request and making a new commit. |
There was a problem hiding this comment.
Pull request overview
Fixes CDM cleanup on state transitions by ensuring all per-session and per-client CDM bookkeeping is cleared when the SessionServer switches to the inactive state, preventing stale session state from being used after resources are torn down.
Changes:
- Clear
m_mediaKeysClientsandm_sessionInfoalongsidem_mediaKeysduringCdmService::switchToInactive(). - Ensure CDM session/client state does not outlive the active lifecycle of the SessionServer.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Coverage statistics of your commit: |
|
Coverage statistics of your commit: |
Summary: Clear all CDM resources when switching to inactive state.
Type: Fix
Test Plan: UT/CT, Fullstack
Jira: RDKEMW-19750