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

make z_close take session by mutable reference #708

Merged

Conversation

DenisBiryukov91
Copy link
Contributor

make z_close take session by mutable reference as it is done in rust;
session info methods can still be used on session after close (although with the exception of z_info_zid, they will return nothing);

Copy link

github-actions bot commented Oct 4, 2024

PR missing one of the required labels: {'bug', 'enhancement', 'documentation', 'internal', 'new feature', 'breaking-change', 'dependencies'}

Copy link

github-actions bot commented Oct 4, 2024

PR missing one of the required labels: {'new feature', 'breaking-change', 'documentation', 'dependencies', 'enhancement', 'bug', 'internal'}

@DenisBiryukov91 DenisBiryukov91 added enhancement Things could work better api sync Synchronize API with other bindings labels Oct 4, 2024
@DenisBiryukov91 DenisBiryukov91 force-pushed the session-close-by-reference branch 2 times, most recently from 31dbbf8 to 869e1bc Compare October 4, 2024 11:52
Copy link
Member

@sashacmc sashacmc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert these unintentional changes, others LGTM

src/api/api.c Outdated Show resolved Hide resolved
Co-authored-by: Alexander Bushnev <[email protected]>
@milyin milyin merged commit 44fa974 into eclipse-zenoh:main Oct 4, 2024
53 of 54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api sync Synchronize API with other bindings enhancement Things could work better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants