parent
5b904476cd
commit
e2024c4b81
@ -489,7 +489,8 @@ impl ChainSyncApi {
|
|||||||
|
|
||||||
if self
|
if self
|
||||||
.priority_tasks_gate
|
.priority_tasks_gate
|
||||||
.compare_and_swap(false, true, Ordering::AcqRel)
|
.compare_exchange(false, true, Ordering::Acquire, Ordering::Release)
|
||||||
|
.is_err()
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user