Sometimes CoreAudioSharedUnit is no longer working. In that case, the only possibility is to create a new one. On WebKit Mac, we keep only one in the UI process, which will never get disposed except if restarting the UI process. Let's dispose it whenever we need to restart so that we are sure we are on clean grounds.
Created attachment 315299 [details] Patch
<rdar://problem/33277726>
Comment on attachment 315299 [details] Patch Clearing flags on attachment: 315299 Committed r219435: <http://trac.webkit.org/changeset/219435>
All reviewed patches have been landed. Closing bug.