Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop asynchronous ROS updates with synchronous ones
VisualizationManager uses [start|stop]Update() to pause ROS updates during dialog box interaction (ros-visualization#631). However, asynchronous updates via threaded_queue_ were still performed, leading to a memory leak (ros-visualization#1621), because messages were partially processed by the thread (i.e. kept in memory), but not finally processed (and cleaned up) by the synchronous Display::update() call. Pausing threaded processing too resolves that issue.
- Loading branch information