Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media/gpu/test: Destroy test environment after run to idle.
media::VideoDecoder implementation may be destroyed on different thread from the thread that the client releases it. We should make sure the destruction is done before test environment is released. This CL call RunUntilIdle() before releasing the test environment. BUG=none TEST=run video_decode_accelerator_perf_tests on Eve Change-Id: Ifeec98da8c2f7a9798d45f973bcf2e4901bdb411 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772874 Commit-Queue: Chih-Yu Huang <akahuang@chromium.org> Reviewed-by: David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#691540}
- Loading branch information