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/GRPCChannel.m | |
parent | 8cecb2a86dd5904c68f46d4b685b11c8cb0a8704 (diff) |
Comment and rename GRPCChannel:ref and :unref
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.m')
-rw-r--r-- | src/objective-c/GRPCClient/private/GRPCChannel.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m index 63bc267a76..3e4db83765 100644 --- a/src/objective-c/GRPCClient/private/GRPCChannel.m +++ b/src/objective-c/GRPCClient/private/GRPCChannel.m @@ -180,7 +180,7 @@ NSTimeInterval kChannelDestroyDelay = 30; return call; } -- (void)unmanagedCallRef { +- (void)ref { dispatch_async(_dispatchQueue, ^{ if (self->_unmanagedChannel) { [self->_channelRef refChannel]; @@ -188,7 +188,7 @@ NSTimeInterval kChannelDestroyDelay = 30; }); } -- (void)unmanagedCallUnref { +- (void)unref { dispatch_async(_dispatchQueue, ^{ if (self->_unmanagedChannel) { [self->_channelRef unrefChannel]; |