Bug fixes (#145)

This commit is contained in:
Rebecca Turner
2022-11-05 05:11:31 -04:00
committed by GitHub
parent 60ff087048
commit 8acdfc8d1c
17 changed files with 276 additions and 155 deletions

View File

@@ -1,10 +1,7 @@
use lazy_static::lazy_static;
use std::sync::atomic::{AtomicBool, Ordering};
lazy_static! {
/// A global variable telling whether the application has been interrupted.
static ref INTERRUPTED: AtomicBool = AtomicBool::new(false);
}
/// A global variable telling whether the application has been interrupted.
static INTERRUPTED: AtomicBool = AtomicBool::new(false);
/// Tells whether the program has been interrupted
pub fn interrupted() -> bool {