From 44e1837ef914b6ad4133a3eaf38761ca37d9ae83 Mon Sep 17 00:00:00 2001 From: Muxi Yan Date: Fri, 10 Mar 2017 14:52:51 -0800 Subject: [PATCH] Add comment for ignoring errorHandler in GRPCOpSendMessage and TODO --- src/objective-c/GRPCClient/GRPCCall.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m index ff474650122..7d928f81c18 100644 --- a/src/objective-c/GRPCClient/GRPCCall.m +++ b/src/objective-c/GRPCClient/GRPCCall.m @@ -307,6 +307,8 @@ static NSMutableDictionary *callFlags; [_wrappedCall startBatchWithOperations:@[op] errorHandler:errorHandler]; } else { + // Ignored errorHandler since it is the same as the one for GRPCOpSendClose. + // TODO (mxyan): unify the error handlers of all Ops into a single closure. [_unaryOpBatch addObject:op]; } }