Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix no router segfault #549

Merged
merged 3 commits into from
Jul 19, 2024

Conversation

jean-roland
Copy link
Contributor

Probably with the change to _z_bytes_t, the examples started segfaulting when unable to open a session because we tried to close something that was never open due to the flow of refcounters.

This PR adds a method to clear a refcounter without clearing the underlying object to be used in these scenarios where a refcounter is initialized and needs to be dropped while the underlying object wasn't.

Adds a CI test for those no-router scenario.

@gabrik gabrik merged commit a30a33b into eclipse-zenoh:dev/1.0.0 Jul 19, 2024
51 checks passed
@jean-roland jean-roland deleted the fix_no_router_segfault branch July 22, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants