aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannel.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-17 10:33:38 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-17 11:41:59 -0700
commit677ab86b4a8567197550d6969a4d5bd76b8206e1 (patch)
tree410303f6209968cdac92cc5a9f5c53c95ad96ef7 /src/objective-c/GRPCClient/private/GRPCChannel.m
parentda42aa1c1ba38a12450e6b75b20281d6603b3d7e (diff)
rename createChannel -> createChannelCallback
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m
index 2274fa5d6a..bea75d25a9 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannel.m
@@ -116,10 +116,10 @@ static GRPCChannelPool *gChannelPool;
GRPCChannelConfiguration *channelConfig =
[[GRPCChannelConfiguration alloc] initWithHost:host callOptions:callOptions];
return [gChannelPool channelWithConfiguration:channelConfig
- createChannel:^{
- return
- [GRPCChannel createChannelWithConfiguration:channelConfig];
- }];
+ createChannelCallback:^{
+ return
+ [GRPCChannel createChannelWithConfiguration:channelConfig];
+ }];
}
+ (void)closeOpenConnections {