Skip to content

Commit

Permalink
fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jan 21, 2025
1 parent 5f95766 commit e9e5ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/darwin/nw_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -990,11 +990,11 @@ static void s_schedule_connection_state_changed_fn(
if (socket->state == CLOSED) {
return;
}
struct nw_socket *nw_socket = socket->impl;
aws_mutex_lock(&nw_socket->synced_data.lock);
if (nw_socket->synced_data.event_loop) {
struct aws_task *task = aws_mem_calloc(socket->allocator, 1, sizeof(struct aws_task));

struct nw_socket *nw_socket = socket->impl;
struct connection_state_change_args *args =
aws_mem_calloc(nw_socket->allocator, 1, sizeof(struct connection_state_change_args));

Expand Down

0 comments on commit e9e5ee3

Please sign in to comment.