aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannel.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.m4
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];