mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00
![]() This cl/ attempts to fix (rather) rare crashes in
OnNetworkConnected_n by loosening the assumptions
that a network handle will keep it's network name.
With this cl/ it is possible that a NetworkHandle
can call OnNetworkConnected_n with one interface name
and then directly afterwards call it with another (
w/o an OnNetworkDisconnected_n inbetween).
This is the only scenario in which I could see the previous
crash occurring.
i.e
OnNetworkConnected(handle, "some-if-name")
OnNetworkConnected(handle, "some-other-name")
- previously this caused crash,
- now this is treated as if there was an OnNetworkDisconnected(handle) in between.
---
Also 1: shamelessly copy TYPE_MOBILE_DUN & TYPE_MOBILE_HIPRI from chromium:
|
||
---|---|---|
.. | ||
audio_device | ||
codecs | ||
org/webrtc | ||
peerconnection | ||
stacktrace | ||
video | ||
android_network_monitor_unittest.cc | ||
application_context_provider.cc | ||
application_context_provider.h | ||
DEPS | ||
java_types_unittest.cc | ||
test_jni_onload.cc |