From 12c51fe2f623affc17c0d09c815415ee04d3af99 Mon Sep 17 00:00:00 2001 From: rdb Date: Fri, 2 Dec 2022 20:45:53 +0100 Subject: [PATCH] pstats: Fix flame graph showing old results when opening in non-running session --- pandatool/src/pstatserver/pStatFlameGraph.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandatool/src/pstatserver/pStatFlameGraph.cxx b/pandatool/src/pstatserver/pStatFlameGraph.cxx index c383994e84..b549be26bf 100644 --- a/pandatool/src/pstatserver/pStatFlameGraph.cxx +++ b/pandatool/src/pstatserver/pStatFlameGraph.cxx @@ -40,7 +40,7 @@ PStatFlameGraph(PStatMonitor *monitor, // NB. This won't call force_redraw() (which we can't do yet) because average // mode is true - update_data(); + update(); _time_width = _stack.get_net_value(false); if (_time_width == 0.0) { _time_width = 1.0 / pstats_target_frame_rate;