prcs bug with leaking process fixed)

migrate
prplV 2025-05-29 17:41:42 +03:00
parent 9133ce5de7
commit 5a5b7dc315
1 changed files with 1 additions and 0 deletions

View File

@ -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() {