diff options
author | 2018-11-06 11:22:51 -0800 | |
---|---|---|
committer | 2018-11-06 11:22:51 -0800 | |
commit | 739760cdc8a6625fe93f4f0312d84305052b0d09 (patch) | |
tree | 5043c4fbbba3fc56ed0c23a9f18120da12074b1d /src | |
parent | b496e3a2663824c22806b7ee7b1423c806ecc61a (diff) |
More comment
Diffstat (limited to 'src')
-rw-r--r-- | src/objective-c/GRPCClient/GRPCCall.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index af14193581..9be0554ff9 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -185,6 +185,8 @@ const char *kCFStreamVarName = "grpc_cfstream"; completionHandler:^(NSError *errorOrNil) { dispatch_async(self->_dispatchQueue, ^{ if (self->_call) { + // Clean up the request writers. This should have no effect to _call since its + // response writeable is already nullified. [self->_pipe writesFinishedWithError:nil]; self->_call = nil; self->_pipe = nil; |