diff --git a/source/darwin/dispatch_queue.h b/source/darwin/dispatch_queue.h index 5004dc280..6b0b68f31 100644 --- a/source/darwin/dispatch_queue.h +++ b/source/darwin/dispatch_queue.h @@ -42,7 +42,6 @@ struct dispatch_loop_context; struct dispatch_loop { struct aws_allocator *allocator; - struct aws_ref_count ref_count; dispatch_queue_t dispatch_queue; struct aws_task_scheduler scheduler; struct aws_linked_list local_cross_thread_tasks; diff --git a/source/darwin/dispatch_queue_event_loop.c b/source/darwin/dispatch_queue_event_loop.c index b23e21a67..0e3c9138e 100644 --- a/source/darwin/dispatch_queue_event_loop.c +++ b/source/darwin/dispatch_queue_event_loop.c @@ -215,7 +215,6 @@ struct aws_event_loop *aws_event_loop_new_with_dispatch_queue( dispatch_release(dispatch_loop->dispatch_queue); } s_dispatch_event_loop_destroy(loop); - aws_event_loop_clean_up_base(loop); } aws_mem_release(alloc, loop);