commit | 5d16d7fd52739e4cffc9e1c3540ccccac3f76f12 | [log] [tgz] |
---|---|---|
author | Qingsi Wang <qingsi@google.com> | Wed Jun 13 16:08:14 2018 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 14 00:37:15 2018 +0000 |
tree | fb6aa114a814e23f969797096a97c0767e6a39b6 | |
parent | 60b6c1dfa93f2bb5116f7e599e65017e0867cece [diff] |
Add a DCHECK for null port in FakePortAllocator. If the socket server of the thread where FakePortAllocator lives is not configured to be a VirtualSocketServer, there is a chance that we have a null port in FakePortAllocator::StartGettingPort after creating the test UDP port (for example, no permission to create a real socket if using a PhysicalSocketServer), and subsequently this results in a crash when connecting a signal in the port to a slot. Bug: webrtc:9406 Change-Id: I1ba4526f7b9e104bed556f61d9348edc426fc1fc Reviewed-on: https://webrtc-review.googlesource.com/83480 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Commit-Queue: Qingsi Wang <qingsi@google.com> Cr-Commit-Position: refs/heads/master@{#23606}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.