Bug 230679 - RTCDataChannelHandlerClient does not need to be ref counted
Summary: RTCDataChannelHandlerClient does not need to be ref counted
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-23 02:01 PDT by youenn fablet
Modified: 2021-09-24 10:32 PDT (History)
10 users (show)

See Also:


Attachments
Patch (11.98 KB, patch)
2021-09-23 02:20 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2021-09-23 02:01:06 PDT
Instead we can simply use WeakPtr since we hop to the client thread before using it anyway.
Comment 1 youenn fablet 2021-09-23 02:20:32 PDT
Created attachment 439029 [details]
Patch
Comment 2 EWS 2021-09-24 10:31:35 PDT
Committed r283046 (242106@main): <https://commits.webkit.org/242106@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 439029 [details].
Comment 3 Radar WebKit Bug Importer 2021-09-24 10:32:22 PDT
<rdar://problem/83501920>