ros-visualization / rqt_bag

http://wiki.ros.org/rqt_bag
30 stars 54 forks source link

Avoid exception caused by removing a plot that is still being drawn. #42

Closed d-walsh closed 2 years ago

d-walsh commented 5 years ago

Avoid following exception, especially an issue for large datasets:

  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag_plugins/plot_view.py", line 503, in handleChanged
    self.parent().parent().parent().remove_plot(path)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rqt_bag_plugins/plot_view.py", line 197, in remove_plot
    self.paths_on.remove(path)
clalancette commented 2 years ago

The review here was never responded to, so closing this out. Feel free to reopen if you want to continue with this PR.