media: Disable DelayedReleaseServiceContextRef in CdmServiceTest
The delayed CdmService release will cause a delayed task to be posted which will not block *.RunUntilIdle(), and cause a memory leak of the ServiceContextRef in some test cases. This CL disables DelayedReleaseServiceContextRef so that the ref will be deleted immediately. In a future CL, we'll add test cases that actually covers DelayedReleaseServiceContextRef. Bug: 826039 Test: Fix tests. Change-Id: I1d9217046c7ed66459fd578976b545aa0fe0d3c6 Reviewed-on: https://chromium-review.googlesource.com/1006530Reviewed-by:John Rummell <jrummell@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#550004}
Showing
Please register or sign in to comment