Bug 256048

Summary: Adopt smart pointer for captured variables in VideoTrackPrivateAVFObjC constructor
Product: WebKit Reporter: JC Alvarado <joncarlo>
Component: WebKit Misc.Assignee: JC Alvarado <joncarlo>
Status: ASSIGNED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

JC Alvarado
Reported 2023-04-27 10:50:01 PDT
In the constructor for VideoTrackPrivateAVFObjC we captured a reference to self in a lambda and then store in a separate object. We should adopt smart pointers in that lambda to avoid lifetime issues.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-04-27 11:01:16 PDT
JC Alvarado
Comment 2 2023-04-27 11:02:50 PDT
Note You need to log in before you can comment on or make changes to this bug.