aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/GRPCCall.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-11-14 14:51:07 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-11-14 14:51:07 -0800
commitf4a77ce4926064e193787521081e835bd94f1e7d (patch)
tree3078ec55b9eb1ea77788266f677772ed2470fda1 /src/objective-c/GRPCClient/GRPCCall.m
parent78c2176afcdf2267467c68f6f070fc6543673bd7 (diff)
_call->_pipe
Diffstat (limited to 'src/objective-c/GRPCClient/GRPCCall.m')
-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 9d81dcf6e6..46cd5a4f22 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -260,7 +260,7 @@ const char *kCFStreamVarName = "grpc_cfstream";
GRPCAssert(self->_started, NSInternalInconsistencyException, @"Call not started.");
GRPCAssert(!self->_canceled, NSInternalInconsistencyException, @"Call arleady canceled.");
GRPCAssert(!self->_finished, NSInternalInconsistencyException, @"Call already half-closed.");
- if (self->_call) {
+ if (self->_pipe) {
[self->_pipe writesFinishedWithError:nil];
}
self->_pipe = nil;