Avoid adding orphaned nodes to a task handler on a closed audio context.
If a BaseAudioContext is uninitialized, its render thread will no longer clear associated orphaned render nodes (as it is stopped). Instead of checking whether or not the context has reported itself as being closed (which is independent of the initialization state), simply check the initialization state itself. R=hongchan@chromium.org Bug: 858834 Change-Id: I5b088d17122b0c86270ff8ca75b13ab1487a2131 Reviewed-on: https://chromium-review.googlesource.com/c/1284697 Commit-Queue: Andrew Comminos <acomminos@fb.com> Reviewed-by:Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#604630}
Showing
Please register or sign in to comment