Skip to content

Commit eab7c64

Browse files
authored
Fix Dispatch Queue Leak (#750)
1 parent a32bb73 commit eab7c64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/darwin/dispatch_queue_event_loop.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ static void s_dispatch_event_loop_final_destroy(struct aws_event_loop *event_loo
183183
aws_task_scheduler_clean_up(&dispatch_loop->scheduler);
184184
}
185185

186+
dispatch_release(dispatch_loop->dispatch_queue);
186187
aws_mutex_clean_up(&dispatch_loop->synced_data.synced_data_lock);
187188
aws_condition_variable_clean_up(&dispatch_loop->synced_data.signal);
188189
// We don't need to clean up the dispatch_loop->synced_data.scheduled_iterations, as all scheduling entries should

0 commit comments

Comments
 (0)