Commit 60585a9c authored by DanmeiChen's avatar DanmeiChen

fix connection lost during a call when the network changes several times

parent 97ededf5
......@@ -462,7 +462,7 @@ void IosPlatformHelpers::networkChangeCallback() {
ms_message("New Wifi SSID detected: %s", mCurrentSSID.empty()?"[none]":mCurrentSSID.c_str());
if (reachable){
if (reachable && !force){
force = checkIpAddressChanged();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment