1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Proper buffer reset.

This commit is contained in:
Bartosz Taudul 2019-08-04 17:48:19 +02:00
parent 8ae90a6cbd
commit aada588129

View File

@ -1397,6 +1397,7 @@ void Profiler::Worker()
#ifdef TRACY_ON_DEMAND
m_isConnected.store( false, std::memory_order_release );
m_bufferOffset = 0;
m_bufferStart = 0;
#endif
m_sock->~Socket();