From 23ca5fb69e508be2b3c91b5fb382b0fc86e33e61 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Fri, 12 Apr 2024 20:06:39 -0400 Subject: [PATCH] clear flow monitor on coordinator ui close --- coordinator/renderer.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coordinator/renderer.lua b/coordinator/renderer.lua index 6920845..f2d2418 100644 --- a/coordinator/renderer.lua +++ b/coordinator/renderer.lua @@ -254,6 +254,11 @@ function renderer.close_ui() -- clear unit monitors for _, monitor in ipairs(engine.monitors.unit_displays) do monitor.clear() end + if not engine.disable_flow_view then + -- clear flow monitor + engine.monitors.flow.clear() + end + -- re-draw dmesg engine.dmesg_window.setVisible(true) engine.dmesg_window.redraw()