Explorar el Código

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

Muxi Yan hace 9 años
padre
commit
ff1ef244ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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).