mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 01:01:28 +03:00
refresh_process_specifics
This commit is contained in:
@@ -511,7 +511,7 @@ pub fn start_os_service() {
|
|||||||
std::process::exit(0);
|
std::process::exit(0);
|
||||||
}
|
}
|
||||||
// only refresh this pid and check if valid, no need to refresh all processes since refreshing all is expensive, about 10ms on my machine
|
// only refresh this pid and check if valid, no need to refresh all processes since refreshing all is expensive, about 10ms on my machine
|
||||||
if !sys.refresh_process(pid) {
|
if !sys.refresh_process_specifics(pid, ProcessRefreshKind::new()) {
|
||||||
server = None;
|
server = None;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user