diff options
author | Muxi Yan <mxyan@google.com> | 2018-10-19 17:56:42 -0700 |
---|---|---|
committer | Muxi Yan <mxyan@google.com> | 2018-10-19 17:57:04 -0700 |
commit | b3cb4e17f76624e563e51165954ebaa6224d806c (patch) | |
tree | 48619b7220bc7d5f2cf08aaa4cf5eaf95e6692b3 /src/objective-c/GRPCClient/private/GRPCChannelPool.m | |
parent | 8cecb2a86dd5904c68f46d4b685b11c8cb0a8704 (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.m | 2 |
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) { |