Fix thread-safety issues related to RealtimeMediaSource::audioSamplesAvailable(). RealtimeMediaSource::audioSamplesAvailable() is called on a background thread but iterates over observers that may get destroyed concurrently on the main thread.
<rdar://problem/42558823>
Created attachment 345943 [details] Patch
Created attachment 345950 [details] Patch
Comment on attachment 345950 [details] Patch Clearing flags on attachment: 345950 Committed r234334: <https://trac.webkit.org/changeset/234334>
All reviewed patches have been landed. Closing bug.
<rdar://problem/42677538>