Address Address lifetime issues in OfflineAudioDestinationNode (take 2)
Created attachment 107384 [details]
my previous patch was incorrect:
It's too late to call waitForThreadCompletion() in the destructor, since there's could still be a pending callOnMainThread() using this object.
The object must stay alive longer. The approach taken with this new patch is to take a reference just before the worker thread is created, then release the reference once the callOnMainThread() handler has finished. Then we can avoid calling waitForThreadCompletion()
Created attachment 107388 [details]
Comment on attachment 107388 [details]
Looks good to me.
Committed r95124: <http://trac.webkit.org/changeset/95124>