| Index: Source/modules/webaudio/AudioNode.cpp
|
| diff --git a/Source/modules/webaudio/AudioNode.cpp b/Source/modules/webaudio/AudioNode.cpp
|
| index da33be4a49aefda4493ae7dec0b3f53f1da95a8c..e48936c7335a4167deb56800f34ce1f03f7917b7 100644
|
| --- a/Source/modules/webaudio/AudioNode.cpp
|
| +++ b/Source/modules/webaudio/AudioNode.cpp
|
| @@ -527,7 +527,7 @@ void AudioNode::deref(RefType refType)
|
| // Once AudioContext::uninitialize() is called there's no more chances for deleteMarkedNodes() to get called, so we call here.
|
| // We can't call in AudioContext::~AudioContext() since it will never be called as long as any AudioNode is alive
|
| // because AudioNodes keep a reference to the context.
|
| - if (context()->isAudioThreadFinished())
|
| + if (!context()->isInitialized())
|
| context()->deleteMarkedNodes();
|
| }
|
|
|
|
|