Fix concurrent writer dispatch queue

pull/18765/head
Muxi Yan 6 years ago committed by GitHub
parent 63777c714f
commit 75e7e18927
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/objective-c/GRPCClient/GRPCCall.m

@ -191,6 +191,7 @@ const char *kCFStreamVarName = "grpc_cfstream";
callSafety:_requestOptions.safety callSafety:_requestOptions.safety
requestsWriter:_pipe requestsWriter:_pipe
callOptions:_callOptions]; callOptions:_callOptions];
[_call setResponseDispatchQueue:_dispatchQueue];
if (_callOptions.initialMetadata) { if (_callOptions.initialMetadata) {
[_call.requestHeaders addEntriesFromDictionary:_callOptions.initialMetadata]; [_call.requestHeaders addEntriesFromDictionary:_callOptions.initialMetadata];
} }

Loading…
Cancel
Save