DescriptionOilpan: WebAudio: Apply the weak HashMap pattern to remove an entry from AudioContext::m_dirtyAudioSummingJunctions.
r178238, which made AudioSummingJunction::m_context a weak member, didn't
work. If the AudioContext and an AudioSummingJunction object become unreachable
togeter, AudioSummingJunction::m_context is not cleared and their destuction
order is not deterministic. We must not touch weak members in destructors.
With this CL, we register all of AudioSummingJunction objects to AudioContext,
and applies the weak HashMap pattern to clear m_dirtyAudioSummingJunctions.
BUG=392788
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178521
Patch Set 1 #
Total comments: 10
Patch Set 2 : Add a comment, etc. #
Messages
Total messages: 10 (0 generated)
|