prcs bug with leaking process fixed)
parent
9133ce5de7
commit
5a5b7dc315
|
|
@ -520,6 +520,7 @@ mod process_unittests {
|
||||||
let res1 = start_process("freeze-check", "./tests/examples/freeze-check").await;
|
let res1 = start_process("freeze-check", "./tests/examples/freeze-check").await;
|
||||||
assert!(res1.is_ok());
|
assert!(res1.is_ok());
|
||||||
assert!(!is_frozen("freeze-check").await);
|
assert!(!is_frozen("freeze-check").await);
|
||||||
|
let _ = terminate_process("freeze-check").await;
|
||||||
}
|
}
|
||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn pidof_active_process() {
|
async fn pidof_active_process() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue