Skip to content

Commit

Permalink
Initialize more of the visualization_manager members. (ros-visualizat…
Browse files Browse the repository at this point in the history
…ion#1090) (ros-visualization#1091)

This is so we don't access uninitialized memory during
startup.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 51e576c5289a5d231f89c7593ded84c6ddade22f)

Co-authored-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
mergify[bot] and clalancette authored Nov 16, 2023
1 parent 3fc52ac commit 33037d1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rviz_common/src/rviz_common/visualization_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ VisualizationManager::VisualizationManager(
update_timer_(0),
shutting_down_(false),
render_panel_(render_panel),
wall_clock_elapsed_(0),
ros_time_elapsed_(0),
time_update_timer_(0.0f),
frame_update_timer_(0.0f),
render_requested_(1),
Expand Down

0 comments on commit 33037d1

Please sign in to comment.