Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index 8bc640f9cbed5c9793deebb7197036304bca7e31..97e376c4f6ed00100983941e11cbdf4e2a0da4ed 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -205,9 +205,9 @@ void AudioContext::clear() |
// Audio thread is dead. Nobody will schedule node deletion action. Let's do it ourselves. |
do { |
- deleteMarkedNodes(); |
m_nodesToDelete.appendVector(m_nodesMarkedForDeletion); |
m_nodesMarkedForDeletion.clear(); |
+ deleteMarkedNodes(); |
} while (m_nodesToDelete.size()); |
Raymond Toy
2014/04/22 17:25:26
With this change, is this loop ever executed more
|
m_isCleared = true; |