Fix incorrect OwnedFactoryAndThreads teardown sequence Reorder declaration of members in OwnedFactoryAndThreads so that env_ and signaling_thread_ are destroyed last. This ensures worker and network threads can safely run teardown tasks (such as releasing proxy objects) that marshal calls to the signaling thread or use environment resources without accessing deleted objects. Also, add a unit test that verifies the correct teardown order and prevents regression. Bug: b/515407473 Change-Id: I4f517cc99bf1d2ed05bce5f9de9a1d146fe0c154 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/479200 Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47931}
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.