Bug 242039

Summary: Download::platformCancelNetworkLoad() may call its completion handler on the wrong thread
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Chris Dumez 2022-06-27 16:34:24 PDT
Download::platformCancelNetworkLoad() may call its completion handler on the wrong thread, leading to crashes in the Timer destructor because the Download object gets destroyed off the main thread.
Comment 1 Chris Dumez 2022-06-27 16:34:36 PDT
<rdar://74650424>
Comment 2 Chris Dumez 2022-06-27 16:37:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1837
Comment 3 EWS 2022-06-27 18:00:05 PDT
Committed 251897@main (ac21d7522331): <https://commits.webkit.org/251897@main>

Reviewed commits have been landed. Closing PR #1837 and removing active labels.