From c2dd3913d75eba732f98aed280b061392d49390d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 14 Apr 2020 02:34:28 +0200 Subject: [PATCH] Cleanup context switch data. --- server/TracyWorker.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/TracyWorker.cpp b/server/TracyWorker.cpp index b8b6ed8f..d37ae781 100644 --- a/server/TracyWorker.cpp +++ b/server/TracyWorker.cpp @@ -2109,6 +2109,10 @@ Worker::~Worker() { v.~Vector(); } + for( auto& v : m_data.ctxSwitch ) + { + v.second->v.~Vector(); + } for( auto& v : m_data.gpuChildren ) { v.~Vector();