Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Jan 30, 2025
1 parent 9733a56 commit 9fc5d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/darwin/nw_socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -701,9 +701,9 @@ static void s_process_connection_state_changed_task(struct aws_task *task, void
"id=%p handle=%p: connection on port cancelled ",
(void *)socket,
socket->io_handle.data.handle);
aws_mutex_lock(nw_socket->synced_data.lock);
aws_mutex_lock(&nw_socket->synced_data.lock);
nw_socket->synced_data.event_loop = NULL;
aws_mutex_unlock(nw_socket->synced_data.lock);
aws_mutex_unlock(&nw_socket->synced_data.lock);
socket->state = CLOSED;
nw_socket_release_internal_ref(nw_socket);
AWS_LOGF_DEBUG(
Expand Down

0 comments on commit 9fc5d4a

Please sign in to comment.