mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-30 01:04:36 +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
|
#ifdef TRACY_ON_DEMAND
|
||||||
m_isConnected.store( false, std::memory_order_release );
|
m_isConnected.store( false, std::memory_order_release );
|
||||||
|
m_bufferOffset = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_sock->~Socket();
|
m_sock->~Socket();
|
||||||
|
Loading…
Reference in New Issue
Block a user