Skip to content
Snippets Groups Projects
Commit 92552fc6 authored by murgatroid99's avatar murgatroid99
Browse files

Re-added completion_queue_destroy call

parent e08a9c06
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@
// anymore (i.e. on self dealloc). So the block would never end if it
// retained self.
grpc_completion_queue *unmanagedQueue = _unmanagedQueue;
// Start a loop on a concurrent queue to read events from the completion
// queue and dispatch each.
static dispatch_once_t initialization;
......@@ -73,6 +73,7 @@
handler(event->data.op_complete);
break;
case GRPC_QUEUE_SHUTDOWN:
grpc_completion_queue_destroy(unmanagedQueue);
return;
default:
[NSException raise:@"Unrecognized completion type" format:@""];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment