Uh oh!
There was an error while loading. Please reload this page.
Add methods to remove entities from Node - #110
Conversation
@jacobperron there seems to be an error in Edit: never mind, I just saw your message in #109 (comment) |
jacobperron
commented
Jun 10, 2020
#111 disables the flake8 check for |
clalancette
left a comment
There was a problem hiding this comment.
One pretty minor thing; otherwise looks good to me.
Uh oh!
There was an error while loading. Please reload this page.
When an entity is disposed, make sure to also remove it from the Node. This resolves an issue where invalid entities may be used by other classes or users. For example, a disposed Subscription being accessed by the executor. Fixes#105 Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
jacobperron
commented
Jun 24, 2020
I've rebased to fix CI 🤞 |
jacobperron
commented
Jun 30, 2020
@esteve@clalancette PTAL |
esteve
commented
Jun 30, 2020
@jacobperron thanks! |
* Add methods to remove entities from Node When an entity is disposed, make sure to also remove it from the Node. This resolves an issue where invalid entities may be used by other classes or users. For example, a disposed Subscription being accessed by the executor. Fixes#105 Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Add tests for disposing publishers, services, and clients Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Rename test Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Add methods to remove entities from Node When an entity is disposed, make sure to also remove it from the Node. This resolves an issue where invalid entities may be used by other classes or users. For example, a disposed Subscription being accessed by the executor. Fixes#105 Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Add tests for disposing publishers, services, and clients Signed-off-by: Jacob Perron <jacob@openrobotics.org> * Rename test Signed-off-by: Jacob Perron <jacob@openrobotics.org>
When an entity is disposed, make sure to also remove it from the Node.
This resolves an issue where invalid entities may be used by other classes or users.
For example, a disposed Subscription being accessed by the executor.
Fixes#105