Skip to content

Commit

Permalink
Merge branch 'add-mqtt311-on-termination' of https://github.com/awsla…
Browse files Browse the repository at this point in the history
…bs/aws-c-mqtt into adapter_on_termination
  • Loading branch information
xiazhvera committed Aug 21, 2023
2 parents 9d4b38b + f02a4cd commit be1ee71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/v3/connection_state_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,9 @@ static void s_on_connection_termination_fn(void *userdata) {

aws_mutex_lock(&state_test_data->lock);
state_test_data->connection_termination_calls += 1;
aws_mutex_unlock(&state_test_data->lock);

state_test_data->connection_terminated = true;
aws_mutex_unlock(&state_test_data->lock);
aws_condition_variable_notify_one(&state_test_data->cvar);
}

/** sets up a unix domain socket server and socket options. Creates an mqtt connection configured to use
Expand Down

0 comments on commit be1ee71

Please sign in to comment.