diff options
author | Jorge Canizales <jcanizales@google.com> | 2016-06-28 10:48:20 -0700 |
---|---|---|
committer | Jorge Canizales <jcanizales@google.com> | 2016-06-28 10:48:20 -0700 |
commit | 3785d53931aabd85186233905102e30182def5e9 (patch) | |
tree | c7473f0b93d8341cd208f99f3c07b6b5b7423efb /src/objective-c | |
parent | 5e824fa42e691d8e04c6218eb75b26ef80e86918 (diff) |
Restore fix undid by https://github.com/grpc/grpc/pull/5893
That PR wasn’t tested nor reviewed adequately.
Diffstat (limited to 'src/objective-c')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.m | 2 |
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]; } }]; } |