-
Notifications
You must be signed in to change notification settings - Fork 109
clear node/context handle on RclJava.cleanup() #130
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
Conversation
|
@sung-goo-kim thanks! It looks like services, subscriptions and publishers should be cleared as well, what do you think? Thanks again. |
@esteve thanks for comment. I added commit to clear publishers, subscribers, clients, services and timers when disposing node. |
jacobperron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
@sung-goo-kim thanks and sorry it took so long to merge this change |
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
* clear node/context handle on RclJava.cleanup() * clear publishers, subscriptions, clients, services and timers on Node.dispose()
node and context handle should remove from list(LinkedBlockingQueue) when after dispose() called.
If RCLJava.cleanup() called multiple times without terminating the program, unexpected problems may occur due to uncleared nodes.