revert: is_running AtomicBool back to SeqCst

This commit is contained in:
Jack Wills
2023-01-28 20:45:02 +00:00
parent b4488e4bdb
commit c4d80061da
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ async fn run_app<B: Backend + Send>(
}
}
} else {
while is_running.load(Ordering::Relaxed) {
while is_running.load(Ordering::SeqCst) {
if crossterm::event::poll(input_poll_rate).unwrap_or(false) {
if let Ok(event) = event::read() {
if let Event::Key(key) = event {