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

Remove ZenohSession since it's not used now. #348

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

evshary
Copy link
Contributor

@evshary evshary commented Dec 19, 2024

Since we are using zenoh-cpp now, the class ZenohSession wrapper is not used anymore. I think it was missed while migrating.

@YuanYuYuan
Copy link
Contributor

Hi @evshary, we still need it since we want to z_close the session if it's the last holder. Otherwise, we need to customize the std::shared_ptr deleter.

Copy link
Contributor

@ahcorde ahcorde left a comment

Choose a reason for hiding this comment

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

The class is never instantiated, I think it's safe to remove this

Copy link
Collaborator

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

Yes, agreed, we don't need this anymore.

@ahcorde ahcorde merged commit 49a34bf into ros2:rolling Dec 19, 2024
6 checks passed
@evshary evshary deleted the remove_obsolete_code branch December 19, 2024 16:01
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.

4 participants