[Fuchsia] Destroy audio decryptor on the right thread
Previously FuchsiaDecryptor was destroying FuchsiaClearStreamDecryptor in the destructor which may run on a thread that's different than the thread on which FuchsiaClearStreamDecryptor was created. Updated FuchsiaDecryptor destructor to delete audio_decryptor_ asynchronously on the right thread. Bug: 1047783 Change-Id: I9c4dc5d7a292078eb632c0c44be6a68cc949b7e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2033813 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:David Dorwin <ddorwin@chromium.org> Auto-Submit: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#738277}
Showing
Please register or sign in to comment