revert: is_running AtomicBool back to SeqCst
This commit is contained in:
@@ -73,7 +73,7 @@ impl InputHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
if !self.is_running.load(Ordering::Relaxed) {
|
||||
if !self.is_running.load(Ordering::SeqCst) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -134,7 +134,7 @@ impl InputHandler {
|
||||
.lock()
|
||||
.status_contains(&[Status::Error, Status::Init]);
|
||||
if error_init || self.docker_sender.send(DockerMessage::Quit).await.is_err() {
|
||||
self.is_running.store(false, Ordering::Relaxed);
|
||||
self.is_running.store(false, Ordering::SeqCst);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user