From 75e7e189274cde98c2efdf4d83ffa11f8bb97b8a Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Mon, 15 Apr 2019 14:36:41 -0700 Subject: [PATCH] Fix concurrent writer dispatch queue --- src/objective-c/GRPCClient/GRPCCall.m | 1 + 1 file changed, 1 insertion(+) diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index cd3db898985..245a5e9ba02 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -191,6 +191,7 @@ const char *kCFStreamVarName = "grpc_cfstream"; callSafety:_requestOptions.safety requestsWriter:_pipe callOptions:_callOptions]; + [_call setResponseDispatchQueue:_dispatchQueue]; if (_callOptions.initialMetadata) { [_call.requestHeaders addEntriesFromDictionary:_callOptions.initialMetadata]; }