Share more code between WorkerGlobalScope and WorkletGlobalScope.
Created attachment 411941 [details] Patch
Ping review?
Comment on attachment 411941 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411941&action=review > Source/WebCore/workers/WorkerOrWorkletGlobalScope.h:57 > + virtual void prepareForDestruction(); protected?
Comment on attachment 411941 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411941&action=review > Source/WebCore/Modules/webaudio/AudioWorkletThread.cpp:90 > + workletGlobalScope.prepareForDestruction(); See here. >> Source/WebCore/workers/WorkerOrWorkletGlobalScope.h:57 >> + virtual void prepareForDestruction(); > > protected? No, I don't think we can because it is called from WorkerThread / AudioWorkletThread.
Committed r268822: <https://trac.webkit.org/changeset/268822> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411941 [details].
<rdar://problem/70544800>