aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/ChannelTests/ChannelPoolTest.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/tests/ChannelTests/ChannelPoolTest.m
parent8cecb2a86dd5904c68f46d4b685b11c8cb0a8704 (diff)
Comment and rename GRPCChannel:ref and :unref
Diffstat (limited to 'src/objective-c/tests/ChannelTests/ChannelPoolTest.m')
-rw-r--r--src/objective-c/tests/ChannelTests/ChannelPoolTest.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/ChannelTests/ChannelPoolTest.m b/src/objective-c/tests/ChannelTests/ChannelPoolTest.m
index f4a9fb4a2c..5c3f0edba0 100644
--- a/src/objective-c/tests/ChannelTests/ChannelPoolTest.m
+++ b/src/objective-c/tests/ChannelTests/ChannelPoolTest.m
@@ -74,7 +74,7 @@ extern NSTimeInterval kChannelDestroyDelay;
[[GRPCChannelConfiguration alloc] initWithHost:kDummyHost callOptions:options1];
GRPCChannelPool *pool = [[GRPCChannelPool alloc] init];
GRPCChannel *channel1 = [pool channelWithConfiguration:config1];
- [channel1 unmanagedCallUnref];
+ [channel1 unref];
sleep(1);
GRPCChannel *channel2 = [pool channelWithConfiguration:config1];
XCTAssertEqual(channel1, channel2);