Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Fix fake StreamingEngine persisting active streams between loads
Player unit tests use a fake StreamingEngine that persists between loads. Some tests then load() multiple times, which causes calls to destroy() on the fake. But the fake StreamingEngine was not releasing its active stream references on destroy(), leading to a brittle test that broke when PR shaka-project#3459 was introduced. This fixes the fake to release active streams between loads(). Change-Id: Ifea5234863aeb976ddc45c825ef79342a176bc2f
- Loading branch information