WebAudio: Fix MediaStreamAudioDestinationNode liveness
Canonical fix: - Model liveness through MediaStreamAudioDestinationNode (AudioNode), i.e., keep alive listener from there. - Change off-thread handler to use a weak root This works as AudioNode disposes the handler in the pre-finalizer. Bug: 928781, 843903 Change-Id: Ia8eedeb29896bc29d9eb2b81c04d44bc1a21a3c0 Reviewed-on: https://chromium-review.googlesource.com/c/1489247Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#635971}
Showing
Please register or sign in to comment