| Summary: | NetworkRTCUDPSocketCocoaConnections nw_listener_set_state_changed_handler callback should hold a reference to its listener | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | youenn fablet <youennf> | ||||||
| Component: | WebRTC | Assignee: | youenn fablet <youennf> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, eric.carlson, markericc02, webkit-bug-importer, youennf | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
youenn fablet
2021-07-28 06:13:09 PDT
Created attachment 434426 [details]
Patch
Comment on attachment 434426 [details]
Patch
Does it enter the cancelled state if it is destroyed before it transitions to the ready state? I think you could also use a WeakObjCPtr.
(In reply to Alex Christensen from comment #5) > Comment on attachment 434426 [details] > Patch > > Does it enter the cancelled state if it is destroyed before it transitions > to the ready state? I think you could also use a WeakObjCPtr. Cancelled state is guaranteed to happen whenever cancel is called, even if state is failed or not ready. Created attachment 434502 [details]
Patch for landing
Committed r280420 (240060@main): <https://commits.webkit.org/240060@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 434502 [details]. |