Skip to content

Commit 0edd45a

Browse files
committed
fix atomic order
1 parent ef37c54 commit 0edd45a

File tree

1 file changed

+1
-1
lines changed
  • turbopack/crates/turbo-tasks-backend/src/backend

1 file changed

+1
-1
lines changed

turbopack/crates/turbo-tasks-backend/src/backend/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
915915
return Some(task_type);
916916
}
917917
if self.should_restore()
918-
&& self.local_is_partial.load(Ordering::Relaxed)
918+
&& self.local_is_partial.load(Ordering::Acquire)
919919
&& !task_id.is_transient()
920920
&& let Some(task_type) = unsafe {
921921
self.backing_storage

0 commit comments

Comments
 (0)