Changeset 94984 in webkit
- Timestamp:
- Sep 12, 2011 3:43:00 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r94982 r94984 1 2011-09-12 Chris Rogers <crogers@google.com> 2 3 Address lifetime issues in OfflineAudioDestinationNode 4 https://bugs.webkit.org/show_bug.cgi?id=67949 5 6 Reviewed by Kenneth Russell. 7 8 No new tests. This does not change JavaScript API. 9 10 * webaudio/OfflineAudioDestinationNode.cpp: 11 (WebCore::OfflineAudioDestinationNode::~OfflineAudioDestinationNode): 12 (WebCore::OfflineAudioDestinationNode::render): 13 (WebCore::OfflineAudioDestinationNode::notifyCompleteDispatch): 14 1 15 2011-09-12 Jeff Timanus <twiz@chromium.org> 2 16 -
trunk/Source/WebCore/webaudio/OfflineAudioDestinationNode.cpp
r92068 r94984 53 53 OfflineAudioDestinationNode::~OfflineAudioDestinationNode() 54 54 { 55 if (m_renderThread) 56 waitForThreadCompletion(m_renderThread, 0); 57 55 58 uninitialize(); 56 59 } … … 144 147 145 148 // Our work is done. Let the AudioContext know. 149 // See corresponding deref() call in notifyCompleteDispatch(). 150 ref(); 146 151 callOnMainThread(notifyCompleteDispatch, this); 147 152 } … … 155 160 156 161 destinationNode->notifyComplete(); 162 destinationNode->deref(); 157 163 } 158 164
Note: See TracChangeset
for help on using the changeset viewer.