Skip to content

Commit

Permalink
update callback to pass the correct connection
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Aug 16, 2023
1 parent 9d9778a commit a7d5cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/v5/mqtt5_to_mqtt3_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static void s_mqtt_adapter_final_destroy_task_fn(struct aws_task *task, void *ar

/* trigger the termination callback */
if (adapter->on_termination) {
adapter->on_termination(adapter, adapter->on_termination_user_data);
adapter->on_termination(adapter->base, adapter->on_termination_user_data);
adapter->on_termination = NULL;
adapter->on_termination_user_data = NULL;
}
Expand Down

0 comments on commit a7d5cfd

Please sign in to comment.