Skip to content

Commit

Permalink
update termination callback interface
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Aug 16, 2023
1 parent 0106d81 commit 7edaa36
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->base, adapter->on_termination_user_data);
adapter->on_termination(adapter->on_termination_user_data);
adapter->on_termination = NULL;
adapter->on_termination_user_data = NULL;
}
Expand Down

0 comments on commit 7edaa36

Please sign in to comment.