diff options
Diffstat (limited to 'src/profiling/SendCounterPacket.cpp')
-rw-r--r-- | src/profiling/SendCounterPacket.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/profiling/SendCounterPacket.cpp b/src/profiling/SendCounterPacket.cpp index 382f958fca..dcba156e93 100644 --- a/src/profiling/SendCounterPacket.cpp +++ b/src/profiling/SendCounterPacket.cpp @@ -916,6 +916,11 @@ void SendCounterPacket::Start(IProfilingConnection& profilingConnection) return; } + if (m_SendThread.joinable()) + { + m_SendThread.join(); + } + // Mark the send thread as running m_IsRunning.store(true); |