aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-19 17:56:42 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-19 17:57:04 -0700
commitb3cb4e17f76624e563e51165954ebaa6224d806c (patch)
tree48619b7220bc7d5f2cf08aaa4cf5eaf95e6692b3 /src/objective-c/GRPCClient/private/GRPCChannelPool.m
parent8cecb2a86dd5904c68f46d4b685b11c8cb0a8704 (diff)
Comment and rename GRPCChannel:ref and :unref
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index 4908b82fea..8e0f6976cf 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -191,7 +191,7 @@ extern const char *kCFStreamVarName;
@synchronized(self) {
if ([_channelPool objectForKey:configuration]) {
channel = _channelPool[configuration];
- [channel unmanagedCallRef];
+ [channel ref];
} else {
channel = [GRPCChannel createChannelWithConfiguration:configuration];
if (channel != nil) {