Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

refresh_process_specifics

rustdesk67ee3a5a678d
diff --git a/src/platform/macos.rs b/src/platform/macos.rs
index 9c2456670..e8e91ff2c 100644
--- a/src/platform/macos.rs
+++ b/src/platform/macos.rs
@@ -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;
}