1
0
mirror of https://github.com/wolfpld/tracy synced 2025-05-08 07:53:52 +00:00

Free socket after disconnection.

This commit is contained in:
Bartosz Taudul 2018-09-09 18:31:06 +02:00
parent 270072b09e
commit db1d7d2c92

View File

@ -997,6 +997,9 @@ void Profiler::Worker()
#ifdef TRACY_ON_DEMAND
m_isConnected.store( false, std::memory_order_relaxed );
#endif
m_sock->~Socket();
tracy_free( m_sock );
}
for(;;)