mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-26 16:04:34 +00:00
Discard send buffer data after disconnect.
This commit is contained in:
parent
2cf50427be
commit
57b8b425ba
@ -1237,6 +1237,7 @@ void Profiler::Worker()
|
||||
|
||||
#ifdef TRACY_ON_DEMAND
|
||||
m_isConnected.store( false, std::memory_order_release );
|
||||
m_bufferOffset = 0;
|
||||
#endif
|
||||
|
||||
m_sock->~Socket();
|
||||
|
Loading…
Reference in New Issue
Block a user