Skip to content

Commit

Permalink
clean up lock
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Dec 16, 2024
1 parent 620eb2c commit f9f670a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/darwin/dispatch_queue_event_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ static bool s_should_schedule_iteration(
/* On dispatch event loop context ref-count reaches 0 */
static void s_dispatch_loop_context_destroy(void *context) {
struct dispatch_loop_context *dispatch_loop_context = context;
aws_mutex_clean_up(&dispatch_loop_context->scheduling_state.services_lock);
aws_rw_lock_clean_up(&dispatch_loop_context->lock);
aws_mem_release(dispatch_loop_context->allocator, dispatch_loop_context);
}
Expand Down

0 comments on commit f9f670a

Please sign in to comment.