Check if call is cancelled

pull/16190/head
Muxi Yan 6 years ago
parent 24265b03ac
commit 9558618182
  1. 4
      src/objective-c/GRPCClient/GRPCCall.m

@ -237,7 +237,9 @@ const char *kCFStreamVarName = "grpc_cfstream";
- (void)writeData:(NSData *)data {
dispatch_async(_dispatchQueue, ^{
[self->_pipe writeValue:data];
if (self->_call) {
[self->_pipe writeValue:data];
}
});
}

Loading…
Cancel
Save