From 0f1fcd48f21e7d52edeac3e2087f32521cc9f11f Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Wed, 16 May 2018 09:46:35 -0700 Subject: Fix build error --- src/objective-c/GRPCClient/private/GRPCHost.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/objective-c/GRPCClient') diff --git a/src/objective-c/GRPCClient/private/GRPCHost.m b/src/objective-c/GRPCClient/private/GRPCHost.m index cff046ed0d..14874c79bb 100644 --- a/src/objective-c/GRPCClient/private/GRPCHost.m +++ b/src/objective-c/GRPCClient/private/GRPCHost.m @@ -276,7 +276,7 @@ static NSMutableDictionary *kHostCache; // and Cellular data, so that a new call will use a new channel. Otherwise, a new call will still // use the cached channel which is no longer available and will cause gRPC to hang. - (void)connectivityChange:(NSNotification *)note { - [GRPCHost disconnect]; + [self disconnect]; } @end -- cgit v1.2.3