From ff1ef244ede08a507ef913c81988650cc976fa83 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 21 Oct 2016 00:34:25 -0700 Subject: [PATCH] Do not finish call with error when switching between wifi and cellular --- src/objective-c/GRPCClient/GRPCCall.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index e5a90f2caec..15cec45d15c 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -392,7 +392,7 @@ static NSMutableDictionary *callFlags; } }; [_connectivityMonitor handleLossWithHandler:handler - wifiStatusChangeHandler:handler]; + wifiStatusChangeHandler:nil]; // Create a retain cycle so that this instance lives until the RPC finishes // (or is cancelled).