Revert a change

pull/17936/head
Muxi Yan 6 years ago
parent 45cabbd562
commit ac5e05cc29
  1. 2
      src/objective-c/GRPCClient/GRPCCall.m

@ -683,11 +683,11 @@ const char *kCFStreamVarName = "grpc_cfstream";
dispatch_async(_callQueue, ^{
__weak GRPCCall *weakSelf = self;
[self startReadWithHandler:^(grpc_byte_buffer *message) {
__strong GRPCCall *strongSelf = weakSelf;
if (message == NULL) {
// No more messages from the server
return;
}
__strong GRPCCall *strongSelf = weakSelf;
if (strongSelf == nil) {
grpc_byte_buffer_destroy(message);
return;

Loading…
Cancel
Save