From 922993cbbb26c2f887c29db65f4477dfae59bc46 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Thu, 24 Jan 2019 18:51:55 +0100 Subject: [PATCH] Add placeholder worker disconnect command. --- server/TracyWorker.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/TracyWorker.hpp b/server/TracyWorker.hpp index 7d515da5..3e6508f5 100644 --- a/server/TracyWorker.hpp +++ b/server/TracyWorker.hpp @@ -283,6 +283,7 @@ public: bool IsConnected() const { return m_connected.load( std::memory_order_relaxed ); } bool IsDataStatic() const { return !m_thread.joinable(); } void Shutdown() { m_shutdown.store( true, std::memory_order_relaxed ); } + void Disconnect() { Shutdown(); } // TODO: Needs proper implementation. void Write( FileWrite& f ); int GetTraceVersion() const { return m_traceVersion; }