Index: Source/modules/webaudio/AudioContext.h |
diff --git a/Source/modules/webaudio/AudioContext.h b/Source/modules/webaudio/AudioContext.h |
index 415e2358bcdb8cdd6bdd9d9cb4906ce94afa114b..5fe579dfa8adf1334405816f859f0b20c6dfdb90 100644 |
--- a/Source/modules/webaudio/AudioContext.h |
+++ b/Source/modules/webaudio/AudioContext.h |
@@ -90,6 +90,7 @@ public: |
// Document notification |
virtual void stop() OVERRIDE FINAL; |
+ virtual bool hasPendingActivity() const OVERRIDE; |
AudioDestinationNode* destination() { return m_destinationNode.get(); } |
size_t currentSampleFrame() const { return m_destinationNode->currentSampleFrame(); } |
@@ -251,6 +252,7 @@ private: |
// We'd like to schedule only one stop action for them. |
bool m_isStopScheduled; |
static void stopDispatch(void* userData); |
+ bool m_isCleared; |
void clear(); |
void scheduleNodeDeletion(); |