feat(downloads): Convert DownloadThreadControlFlag to AtomicBool

Also ran cargo fmt & cargo clipy

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2024-11-11 09:39:25 +11:00
parent b47b7ea935
commit f25bfed336
7 changed files with 29 additions and 42 deletions

View File

@ -1,7 +1,4 @@
use std::{
borrow::Borrow,
sync::{Arc, Mutex},
};
use std::sync::{Arc, Mutex};
use log::info;
use rayon::spawn;