Fix build error

pull/15050/head
Muxi Yan 7 years ago committed by GitHub
parent b458070aaa
commit 0f1fcd48f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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 // 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. // use the cached channel which is no longer available and will cause gRPC to hang.
- (void)connectivityChange:(NSNotification *)note { - (void)connectivityChange:(NSNotification *)note {
[GRPCHost disconnect]; [self disconnect];
} }
@end @end

Loading…
Cancel
Save