aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannel.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:11:29 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:14:25 -0700
commita0f83554bbe47d9d99d6e3146a8ec7ba3a129b63 (patch)
treeb42224e36b537a0e742d7a12c74d2330870a6571 /src/objective-c/GRPCClient/private/GRPCChannel.m
parent3bdf794bd031162913f533a2a9535f4066a41abd (diff)
remove channel from pool with pointer rather than config
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannel.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannel.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannel.m b/src/objective-c/GRPCClient/private/GRPCChannel.m
index a91949684c..2420988f42 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannel.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannel.m
@@ -204,7 +204,7 @@ NSTimeInterval kChannelDestroyDelay = 30;
if (self->_unmanagedChannel) {
grpc_channel_destroy(self->_unmanagedChannel);
self->_unmanagedChannel = nil;
- [gChannelPool removeChannelWithConfiguration:self->_configuration];
+ [gChannelPool removeChannel:self];
}
});
}