WebAudio: Fix PannerNode listener removal
This was introduced in https://crrev.com/635139 where the responsibility of liveness management was moved to PannerNode from PannerHandler. Since CrossThreadWeakPersistent is cleared before executing the destructor of the Handler we need to check whether the AudioListener died in the same GC cycle. Bug: 935854 Change-Id: Ifaa0880c356a4a7b09726a9ddf5b700a65de93bc Reviewed-on: https://chromium-review.googlesource.com/c/1488912Reviewed-by:Kentaro Hara <haraken@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#635567}
Showing
Please register or sign in to comment