| Index: Source/modules/webaudio/AudioNode.cpp
|
| diff --git a/Source/modules/webaudio/AudioNode.cpp b/Source/modules/webaudio/AudioNode.cpp
|
| index 8febafca9ef112741842e3825fe0ce89013884e3..11a367664971b6e2ba266e894d42b034ba404da0 100644
|
| --- a/Source/modules/webaudio/AudioNode.cpp
|
| +++ b/Source/modules/webaudio/AudioNode.cpp
|
| @@ -89,6 +89,10 @@ void AudioNode::uninitialize()
|
| m_isInitialized = false;
|
| }
|
|
|
| +void AudioNode::clearInternalStateWhenDisabled()
|
| +{
|
| +}
|
| +
|
| void AudioNode::dispose()
|
| {
|
| ASSERT(isMainThread());
|
| @@ -475,6 +479,7 @@ void AudioNode::disableOutputsIfNecessary()
|
| // longer any active connections.
|
| if (nodeType() != NodeTypeConvolver && nodeType() != NodeTypeDelay) {
|
| m_isDisabled = true;
|
| + clearInternalStateWhenDisabled();
|
| for (unsigned i = 0; i < m_outputs.size(); ++i)
|
| output(i)->disable();
|
| }
|
|
|