Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check context status before creating new platform destination
RealtimeAudioDestinationHandler::SetSinkDescriptor creates new destination platofrm without validating context status. This can reactivate the audio rendering thread when AudioContext is already in closed state. (cherry picked from commit 0f9bb9a) Bug: 1500856 Change-Id: If1fd531324b56fcdc38d315fd84d4cec577a14bc Test: Locally confirmed with ASAN Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5021160 Reviewed-by: Alvin Ji <alvinji@chromium.org> Commit-Queue: Alvin Ji <alvinji@chromium.org> Reviewed-by: Hongchan Choi <hongchan@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1223168} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5038792 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/branch-heads/6045@{#1382} Cr-Branched-From: 905e8bd-refs/heads/main@{#1204232}
- Loading branch information