Pārlūkot izejas kodu

Do not finish call with error when switching between wifi and cellular

Muxi Yan 9 gadi atpakaļ
vecāks
revīzija
ff1ef244ed
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/objective-c/GRPCClient/GRPCCall.m

+ 1 - 1
src/objective-c/GRPCClient/GRPCCall.m

@@ -392,7 +392,7 @@ static NSMutableDictionary *callFlags;
     }
     }
   };
   };
   [_connectivityMonitor handleLossWithHandler:handler
   [_connectivityMonitor handleLossWithHandler:handler
-                      wifiStatusChangeHandler:handler];
+                      wifiStatusChangeHandler:nil];
 
 
   // Create a retain cycle so that this instance lives until the RPC finishes
   // Create a retain cycle so that this instance lives until the RPC finishes
   // (or is cancelled).
   // (or is cancelled).