Added nil check in GRPCWrappedCall initializer

pull/1363/head
murgatroid99 10 years ago
parent a571cebe01
commit fe2c0c6569
  1. 3
      src/objective-c/GRPCClient/private/GRPCWrappedCall.m

@ -273,6 +273,9 @@
});
_queue = [GRPCCompletionQueue completionQueue];
if (!_queue) {
return nil;
}
_call = grpc_channel_create_call(channel.unmanagedChannel, _queue.unmanagedQueue,
method.UTF8String, host.UTF8String, gpr_inf_future);
if (_call == NULL) {

Loading…
Cancel
Save