Closed xiazhvera closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
a760f42
) 80.34% compared to head (da001a3
) 80.34%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Issue #, if available: https://github.com/awslabs/aws-crt-nodejs/issues/405
Description of changes: The issue happens when the application tries to unsubscribe from a non-subscribed parent topic. As an example:
As the "test/topic" is never subscribed, the topic tree would not delete the topic. However, topic tree would treat the topic as "deleted" and tries to update the underlying topic filter, which hits the assertion. Fixed it by validating if the topic is deleted before proceed to next step.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.