| Index: Source/WebCore/webaudio/OfflineAudioDestinationNode.cpp
|
| ===================================================================
|
| --- Source/WebCore/webaudio/OfflineAudioDestinationNode.cpp (revision 96041)
|
| +++ Source/WebCore/webaudio/OfflineAudioDestinationNode.cpp (working copy)
|
| @@ -53,6 +53,9 @@
|
|
|
| OfflineAudioDestinationNode::~OfflineAudioDestinationNode()
|
| {
|
| + if (m_renderThread)
|
| + waitForThreadCompletion(m_renderThread, 0);
|
| +
|
| uninitialize();
|
| }
|
|
|
| @@ -145,6 +148,8 @@
|
| }
|
|
|
| // Our work is done. Let the AudioContext know.
|
| + // See corresponding deref() call in notifyCompleteDispatch().
|
| + ref();
|
| callOnMainThread(notifyCompleteDispatch, this);
|
| }
|
|
|
|
|