aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c
diff options
context:
space:
mode:
authorGravatar Jorge Canizales <jcanizales@google.com>2016-06-28 10:48:20 -0700
committerGravatar Jorge Canizales <jcanizales@google.com>2016-06-28 10:48:20 -0700
commit3785d53931aabd85186233905102e30182def5e9 (patch)
treec7473f0b93d8341cd208f99f3c07b6b5b7423efb /src/objective-c
parent5e824fa42e691d8e04c6218eb75b26ef80e86918 (diff)
That PR wasn’t tested nor reviewed adequately.
Diffstat (limited to 'src/objective-c')
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index c34df99d9f..63553c0242 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -378,7 +378,7 @@ NSString * const kGRPCTrailersKey = @"io.grpc.TrailersKey";
[strongSelf finishWithError:[NSError errorWithDomain:kGRPCErrorDomain
code:GRPCErrorCodeUnavailable
userInfo:@{NSLocalizedDescriptionKey: @"Connectivity lost."}]];
- [[GRPCHost hostWithAddress:strongSelf->_host] discardChannel:channel];
+ [[GRPCHost hostWithAddress:strongSelf->_host] disconnect];
}
}];
}