small ref
parent
a8439d9a27
commit
75d348f3b8
|
|
@ -1,5 +1,6 @@
|
|||
use crate::structs::{CustomError, TrackingProcess};
|
||||
use std::sync::Arc;
|
||||
use std::time::Duration;
|
||||
use tokio::io;
|
||||
use tokio::{
|
||||
select,
|
||||
|
|
@ -69,7 +70,7 @@ impl<'a> SigPostProcessing<'a> for Sig {
|
|||
prcs.iter().for_each(|proc| {
|
||||
log::info!("Terminating {}", &proc.name);
|
||||
let _ = crate::prcs::terminate_process(&proc.name);
|
||||
})
|
||||
});
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue