DescriptionAudioNodeOutput::enable() and AudioNodeOutput::disable() should not be reentered
AudioNodeOutput::disable() can be reentered and causes the following crash.
ASSERTION FAILED: m_outputs.contains(&output)
../../third_party/WebKit/Source/modules/webaudio/AudioNodeInput.cpp(98) : void blink::AudioNodeInput::disable(blink::AudioNodeOutput &)
Received signal 11 SEGV_MAPERR 0000fbadbeef
To avoid AudioNodeOutput::disable() from getting reentered, this CL moves the place
of flipping m_isEnabled.
The same issue is in AudioNodeOutput::enable() and this CL addresses the issue as well.
BUG=411989
TEST=None, it's hard to create a simple test html that reproduces the bug.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181693
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|