diff --git a/libs/utils/src/JobSystem.cpp b/libs/utils/src/JobSystem.cpp index 389355360b..29d3ed3aad 100644 --- a/libs/utils/src/JobSystem.cpp +++ b/libs/utils/src/JobSystem.cpp @@ -208,7 +208,7 @@ inline bool JobSystem::hasActiveJobs() const noexcept { } inline bool JobSystem::hasJobCompleted(JobSystem::Job const* job) noexcept { - return job->runningJobCount.load(std::memory_order_relaxed) <= 0; + return job->runningJobCount.load(std::memory_order_acquire) <= 0; } void JobSystem::wait(std::unique_lock& lock, Job* job) noexcept {