commit | 1043fcd4335976f55f89debd0b87ff14b6e26b68 | [log] [tgz] |
---|---|---|
author | Tommi <tommi@webrtc.org> | Thu May 26 11:54:35 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 27 07:11:54 2022 |
tree | d33e85f8e482d4a2006af54f4b249081ace95806 | |
parent | 258b8a86b25916b54a1ca3c339540f87b4a5c037 [diff] |
[TCPConnection] Avoid dereferencing port() in OnClose(). Avoid de-referencing possibly gone port when posting tasks. Instead use the network_thread() accessor for accessing the thread pointer. Also including a safety check in OnClose callback as an extra check. Bug: chromium:1316996 Change-Id: I8fa2c7b526a9db953f50bbbabb3e4b2fcef8221a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/263900 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37013}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.