mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 23:19:02 +08:00
refresh_process_specifics
This commit is contained in:
parent
b407893db5
commit
67ee3a5a67
@ -511,7 +511,7 @@ pub fn start_os_service() {
|
||||
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
|
||||
if !sys.refresh_process(pid) {
|
||||
if !sys.refresh_process_specifics(pid, ProcessRefreshKind::new()) {
|
||||
server = None;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user