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

Added unload_library method to shared_library #50

Merged

Conversation

ahcorde
Copy link
Contributor

@ahcorde ahcorde commented Apr 3, 2020

As discussed in the PR ros/class_loader#139 (review) I will include a unload method to the sharedLibrary abstraction

Signed-off-by: ahcorde ahcorde@gmail.com

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde requested a review from a team as a code owner April 3, 2020 18:02
@dirk-thomas
Copy link
Member

Have you tried this patch? I would assume if you invoke unload_library first that the constructor will fail since it will try to unload the library again.

Signed-off-by: ahcorde <ahcorde@gmail.com>
@dirk-thomas
Copy link
Member

Why introduce another field which needs to be kept in sync? E.g. in the current patch the state is wrong if the unloading fails.

Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde
Copy link
Contributor Author

ahcorde commented Apr 8, 2020

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ahcorde ahcorde requested a review from dirk-thomas April 8, 2020 13:52
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

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

With passing CI.

@ahcorde
Copy link
Contributor Author

ahcorde commented Apr 8, 2020

Openning and clossing the issue to retest the github actions

@ahcorde ahcorde closed this Apr 8, 2020
@ahcorde
Copy link
Contributor Author

ahcorde commented Apr 8, 2020

Openning and clossing the issue to retest the github actions

@ahcorde ahcorde reopened this Apr 8, 2020
Signed-off-by: ahcorde <ahcorde@gmail.com>
@ahcorde ahcorde force-pushed the ahcorde/feature/shared_library_unload_method branch from ac9350c to b676168 Compare April 8, 2020 15:52
@ahcorde ahcorde merged commit d026abb into ros2:master Apr 8, 2020
@ahcorde ahcorde deleted the ahcorde/feature/shared_library_unload_method branch April 8, 2020 18:00
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.

2 participants