diff options
author | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-07-08 09:00:43 -0600 |
---|---|---|
committer | Connor Brewster <connor.brewster@eagles.oc.edu> | 2016-07-08 09:02:16 -0600 |
commit | 55267560ca20b8e1ae1bb9173050611779673061 (patch) | |
tree | ced3a07b6ab93b83258879741024e406c6dd67a5 /components/script/script_thread.rs | |
parent | 3f285fd4376da79ae1bff8e03bda7520de989e61 (diff) | |
download | servo-55267560ca20b8e1ae1bb9173050611779673061.tar.gz servo-55267560ca20b8e1ae1bb9173050611779673061.zip |
Change ignore async events ordering to SeqCst
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index e115d086956..e116ace1be4 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -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>>) { |