Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions source/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ static void s_aws_mqtt_schedule_reconnect_task(struct aws_mqtt_client_connection
(void *)connection->loop);
}

static void s_aws_mqtt_client_destroy(struct aws_mqtt_client *client) {

static void s_aws_mqtt_client_destroy(void *user_data) {
struct aws_mqtt_client *client = user_data;
AWS_LOGF_DEBUG(AWS_LS_MQTT_CLIENT, "client=%p: Cleaning up MQTT client", (void *)client);
aws_client_bootstrap_release(client->bootstrap);

Expand Down Expand Up @@ -910,7 +910,8 @@ static void s_on_final_disconnect(struct aws_mqtt_client_connection *connection,
s_mqtt_client_connection_destroy_final(connection);
}

static void s_mqtt_client_connection_start_destroy(struct aws_mqtt_client_connection_311_impl *connection) {
static void s_mqtt_client_connection_start_destroy(void *user_data) {
struct aws_mqtt_client_connection_311_impl *connection = user_data;
bool call_destroy_final = false;

AWS_LOGF_DEBUG(
Expand Down