Bug 260852

Summary: Cocoa WorkQueue::dispatchWithQOS() and dispatch() lifetime semantics do not match
Product: WebKit Reporter: Kimmo Kinnunen <kkinnunen>
Component: Web Template FrameworkAssignee: Kimmo Kinnunen <kkinnunen>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Kimmo Kinnunen 2023-08-29 03:12:07 PDT
Cocoa WorkQueue::dispatchWithQOS() and dispatch() lifetime semantics do not match 
- dispatch() users expect the work function to be destructed in the queue
- dispatch() users expect the work queue to remain alive during the work function
Comment 1 Radar WebKit Bug Importer 2023-08-29 03:12:20 PDT
<rdar://problem/114618174>
Comment 2 Kimmo Kinnunen 2023-08-29 03:16:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17179
Comment 3 EWS 2023-09-08 00:31:40 PDT
Committed 267776@main (56fa22f9af0f): <https://commits.webkit.org/267776@main>

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