From c8c684e9bce939c8cb52e6ebd902d25a046cbdd8 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 28 Sep 2022 01:34:20 +0200 Subject: [PATCH] Clear list of clients when View is active. --- profiler/src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/profiler/src/main.cpp b/profiler/src/main.cpp index 7a9dc4d1..ea1dca2d 100644 --- a/profiler/src/main.cpp +++ b/profiler/src/main.cpp @@ -350,6 +350,10 @@ static void DrawContents() } } } + else if( !clients.empty() ) + { + clients.clear(); + } int display_w, display_h; bptr->NewFrame( display_w, display_h );