awslabs / aws-c-mqtt

C99 implementation of the MQTT 3.1.1 specification.
Apache License 2.0
93 stars 29 forks source link

Add on_termination callback for adapter #319

Closed xiazhvera closed 1 year ago

xiazhvera commented 1 year ago

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 89.18% and project coverage change: +0.07% :tada:

Comparison is base (8ee629a) 82.10% compared to head (5068d68) 82.17%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## add-mqtt311-on-termination #319 +/- ## ============================================================== + Coverage 82.10% 82.17% +0.07% ============================================================== Files 20 20 Lines 8673 8709 +36 ============================================================== + Hits 7121 7157 +36 Misses 1552 1552 ``` | [Files Changed](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/319?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs) | Coverage Δ | | |---|---|---| | [source/v5/mqtt5\_to\_mqtt3\_adapter.c](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/319?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs#diff-c291cmNlL3Y1L21xdHQ1X3RvX21xdHQzX2FkYXB0ZXIuYw==) | `75.84% <89.18%> (+0.16%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/awslabs/aws-c-mqtt/pull/319/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=awslabs)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.