Skip to content

Commit eb31d9e

Browse files
GPUUploadManagerImpl: Use seq_cst atomic ordering in destructor
1 parent a6ac435 commit eb31d9e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Graphics/GraphicsTools/src/GPUUploadManagerImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,10 @@ GPUUploadManagerImpl::GPUUploadManagerImpl(IReferenceCounters* pRefCounters, con
448448

449449
GPUUploadManagerImpl::~GPUUploadManagerImpl()
450450
{
451-
m_Stopping.store(true, std::memory_order_release);
451+
m_Stopping.store(true);
452452
m_PageRotatedSignal.RequestStop();
453453
// Wait for any running updates to finish.
454-
if (m_NumRunningUpdates.load(std::memory_order_acquire) > 0)
454+
if (m_NumRunningUpdates.load() > 0)
455455
{
456456
m_LastRunningThreadFinishedSignal.Wait();
457457
}

0 commit comments

Comments
 (0)