Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Don't send drmsessionupdate after unload (shaka-project#4248)
There is an async call, waiting for sessions to update, right before the StreamingEngine fires off an drmsessionupdate event. This could potentially cause an error, as the StreamingEngine's player interface could potentially be set to null during destruction. This adds a check to see if the StreamingEngine has been destroyed, to catch that case. Based on a test failure of shaka-project#4241
- Loading branch information