mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-15 09:11:28 +10:00
Adding checks for the stopper callback
Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
@ -18,6 +18,6 @@ fn test_progress_parallel() {
|
||||
p.run_contexts_parallel_background((1..100).collect(), 10);
|
||||
}
|
||||
|
||||
fn test_fn(int: usize) {
|
||||
fn test_fn(int: usize, callback: Arc<AtomicBool>) {
|
||||
println!("{}", int);
|
||||
}
|
||||
Reference in New Issue
Block a user