Index: Source/modules/webaudio/AudioContext.cpp |
diff --git a/Source/modules/webaudio/AudioContext.cpp b/Source/modules/webaudio/AudioContext.cpp |
index 39f6180ad733c492b35a46d1548be2d553d54d1e..08a62ee72ced595941fd3a0a7d2368d7237fd161 100644 |
--- a/Source/modules/webaudio/AudioContext.cpp |
+++ b/Source/modules/webaudio/AudioContext.cpp |
@@ -187,6 +187,8 @@ void AudioContext::uninitialize() |
if (!isInitialized()) |
return; |
+ m_isInitialized = false; |
+ |
// This stops the audio thread and all audio rendering. |
m_destinationNode->uninitialize(); |
@@ -198,7 +200,6 @@ void AudioContext::uninitialize() |
// Get rid of the sources which may still be playing. |
derefUnfinishedSourceNodes(); |
- m_isInitialized = false; |
clear(); |
} |