kill check-hwcodec-config process

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages committed 2023-02-21 16:34:24 +08:00
1 parent 95a0d90891
commit 4beacf93d7
7 files changed
+31 -16

No files matched your search

+1 -1
View File
@@ -549,7 +549,7 @@ async fn check_pid(postfix: &str) {
file.read_to_string(&mut content).ok();
let pid = content.parse::<i32>().unwrap_or(0);
if pid > 0 {
use sysinfo::{ProcessExt, System, SystemExt};
use hbb_common::sysinfo::{ProcessExt, System, SystemExt};
let mut sys = System::new();
sys.refresh_processes();
if let Some(p) = sys.process(pid.into()) {