1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

More strict memory ordering for on-demand connection status.

This commit is contained in:
Bartosz Taudul
2019-06-09 16:48:00 +02:00
parent e2d42fae2f
commit cc5bad294a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ public:
#ifdef TRACY_ON_DEMAND
tracy_force_inline bool IsConnected()
{
return m_isConnected.load( std::memory_order_relaxed );
return m_isConnected.load( std::memory_order_acquire );
}
tracy_force_inline void DeferItem( const QueueItem& item )