Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not clear entities callbacks on destruction (ros2#2002)
* Do not clear entities callbacks on destruction Removing these clearings since they were not necessary, since the objects are being destroyed anyway. Signed-off-by: Mauro Passerino <mpasserino@irobot.com> * Fix CI Signed-off-by: Mauro Passerino <mpasserino@irobot.com> * Restore clear_on_ready_callback on ~QOSEventHandlerBase Needed since QOSEventHandlerBase does not own the pub/sub listeners. So the QOSEventHandler can be destroyed while the corresponding listeners are still alive, so we need to clear these callbacks. Signed-off-by: Mauro Passerino <mpasserino@irobot.com> * Add coment on clearing callback for QoS event Signed-off-by: Mauro Passerino <mpasserino@irobot.com> Signed-off-by: Mauro Passerino <mpasserino@irobot.com> Co-authored-by: Mauro Passerino <mpasserino@irobot.com>
- Loading branch information