...
<rdar://problem/64446028>
Created attachment 402751 [details] Patch
Comment on attachment 402751 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402751&action=review r=me > Source/WTF/wtf/cocoa/MainThreadCocoa.mm:134 > + if (RunLoop::mainIfExists()) { > + RunLoop::main().dispatch(dispatchFunctionsFromMainThread); > + return; > + } Let's ensure that `s_mainRunLoop` is set after initializing RunLoop fully by inserting `WTF::storeStoreFence()` before `s_mainRunLoop = &RunLoop::current()`.
Created attachment 402765 [details] Patch
Created attachment 402770 [details] Patch for landing
Committed r263524: <https://trac.webkit.org/changeset/263524> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402770 [details].