Add launch crash detection with detailed error dialog, fix all warnings
This commit is contained in:
@@ -15,6 +15,7 @@ const MAX_CONCURRENT_ANALYSES: usize = 2;
|
||||
static RUNNING_ANALYSES: AtomicUsize = AtomicUsize::new(0);
|
||||
|
||||
/// Returns the number of currently running background analyses.
|
||||
#[allow(dead_code)]
|
||||
pub fn running_count() -> usize {
|
||||
RUNNING_ANALYSES.load(Ordering::Relaxed)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user