WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
256048
Adopt smart pointer for captured variables in VideoTrackPrivateAVFObjC constructor
https://bugs.webkit.org/show_bug.cgi?id=256048
Summary
Adopt smart pointer for captured variables in VideoTrackPrivateAVFObjC constr...
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-27 11:01:16 PDT
<
rdar://problem/108617701
>
JC Alvarado
Comment 2
2023-04-27 11:02:50 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/13241
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug