commit | 729d147dcbea37c06d2b34f8d53fbbb59e2fb3a8 | [log] [tgz] |
---|---|---|
author | Hongchan Choi <[email protected]> | Fri Oct 19 14:05:07 2018 |
committer | Commit Bot <[email protected]> | Fri Oct 19 14:05:07 2018 |
tree | 26da91fa80567d61e45b43d6453b0140687e80cf | |
parent | f1c6d0b819efcc9ff1acd8d2b4ad9e907511914a [diff] |
Use ref counting for automatic nodes in DeferredTaskHandler Previously the storage for automatic pull nodes (handlers actually) were using a raw pointer, so when the BaseAudioContext goes away there\ is no object keeping these node alive. This CL adds ref-counting to the storage so the handler can be alive even after BaseAudioContext is swept away. Without this fix, the crash happens in few minutes. Bug: 891187 Test: The repro case does not crash after 2 hours on the local ASAN. Change-Id: I33a1f74c5803f53e1ace2990af3dd0728720d258 Reviewed-on: https://chromium-review.googlesource.com/c/1286823 Reviewed-by: Kentaro Hara <[email protected]> Commit-Queue: Hongchan Choi <[email protected]> Cr-Commit-Position: refs/heads/master@{#601135}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .