Skip to content

Commit

Permalink
Initialize more of the visualization_manager members. (#1090)
Browse files Browse the repository at this point in the history
This is so we don't access uninitialized memory during
startup.

Signed-off-by: Chris Lalancette <[email protected]>
  • Loading branch information
clalancette authored Nov 16, 2023
1 parent fe52932 commit 51e576c
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 @@ -135,6 +135,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 51e576c

Please sign in to comment.