Make WorkerThread lifetime much more predictable Right now it's... not.
Created attachment 327994 [details] Patch
Comment on attachment 327994 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=327994&action=review r=me with a comment. > Source/WebCore/workers/WorkerThread.cpp:237 > + RunLoop::main().dispatch([protectedThis = WTFMove(protectedThis)] { }); Should probably be a callOnMainThread() since we're in WebCore (and this code is likely used by iOS WK1)?
Created attachment 327999 [details] Patch
Comment on attachment 327999 [details] Patch Will cq+ after EWS
Comment on attachment 327999 [details] Patch Clearing flags on attachment: 327999 Committed r225343: <https://trac.webkit.org/changeset/225343>
All reviewed patches have been landed. Closing bug.
<rdar://problem/35780268>