mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Change ignore async events ordering to SeqCst
This commit is contained in:
parent
3f285fd437
commit
55267560ca
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ pub struct CancellableRunnable<T: Runnable + Send> {
|
|||
|
||||
impl<T: Runnable + Send> Runnable for CancellableRunnable<T> {
|
||||
fn is_cancelled(&self) -> bool {
|
||||
self.cancelled.load(Ordering::Relaxed)
|
||||
self.cancelled.load(Ordering::SeqCst)
|
||||
}
|
||||
|
||||
fn handler(self: Box<CancellableRunnable<T>>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue