aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-03-22 12:35:19 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-03-22 12:35:19 -0700
commitffc69a7644fc96e63b255776749312c650b51127 (patch)
tree070dffaebc969dc28f4f850e6a1b788cd40976df /src/objective-c/GRPCClient
parentef8857e4af2062f20c9e3e4cfad0c1576c31d9e6 (diff)
Objective-C changes
Diffstat (limited to 'src/objective-c/GRPCClient')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCCompletionQueue.m4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCCompletionQueue.m b/src/objective-c/GRPCClient/private/GRPCCompletionQueue.m
index 8edb4ef048..5ff77eac4c 100644
--- a/src/objective-c/GRPCClient/private/GRPCCompletionQueue.m
+++ b/src/objective-c/GRPCClient/private/GRPCCompletionQueue.m
@@ -48,9 +48,7 @@
- (instancetype)init {
if ((self = [super init])) {
- _unmanagedQueue = grpc_completion_queue_create(GRPC_CQ_NEXT,
- GRPC_CQ_DEFAULT_POLLING,
- NULL);
+ _unmanagedQueue = grpc_completion_queue_create_for_next(NULL);
// This is for the following block to capture the pointer by value (instead
// of retaining self and doing self->_unmanagedQueue). This is essential