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

Chris Dumez
Reported 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.
Attachments
Patch (1.68 KB, patch)
2021-04-05 16:02 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2021-04-05 16:00:43 PDT
Chris Dumez
Comment 2 2021-04-05 16:02:02 PDT
EWS
Comment 3 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].
Note You need to log in before you can comment on or make changes to this bug.