Bug 224213

Summary: Make sure the Frame always gets destroyed on the main thread
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebCore Misc.Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2021-04-05 16:00:12 PDT
Make sure the Frame always gets destroyed on the main thread.

Since http://trac.webkit.org/changeset/181791, Frame is ThreadSafeRefCounted and captured on other threads. We should make sure the Frame is always destroyed on the main thread though, since it is a main thread object and we hold WeakPtrs to it in many places.
Comment 1 Chris Dumez 2021-04-05 16:00:43 PDT
<rdar://75131946>
Comment 2 Chris Dumez 2021-04-05 16:02:02 PDT
Created attachment 425220 [details]
Patch
Comment 3 EWS 2021-04-05 19:16:35 PDT
Committed r275475: <https://commits.webkit.org/r275475>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 425220 [details].