commit | 59cfd35438753acd69859e8a2f98f6490e68d6a0 | [log] [tgz] |
---|---|---|
author | Yves Gerey <yvesg@webrtc.org> | Mon Nov 26 15:22:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Nov 27 14:06:37 2018 |
tree | 382757dfc042d139c7d4046a36b59aba6cc7d89d | |
parent | 09d6588d9373bb4c7eaa53483f7a22cc19af4188 [diff] |
Address vptr race condition while PeerConnection is destructed. Auxiliary threads (worker, network) are still active while PeerConnection is destructed, leading to race condition in tests such as: * RTCStatsIntegrationTest.GetStatsFromCaller * RTCStatsIntegrationTest.GetsStatsWhileDestroyingPeerConnection This CL prevents the conflict to happen by explicitly closing the PeerConnection. Bug: webrtc:9847 Change-Id: I40880bb9b193201711031b8c4563c6bbd4983c71 Reviewed-on: https://webrtc-review.googlesource.com/c/104820 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Yves Gerey <yvesg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25801}
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.