mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
fix, win privacy mode, broker process
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
1 parent
84d7115e36
commit
1648895156
7 files changed
+33
-2
No files matched your search
@@ -2273,6 +2273,15 @@ fn run_after_run_cmds(silent: bool) {
|
||||
std::thread::sleep(std::time::Duration::from_millis(300));
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn try_kill_broker() {
|
||||
allow_err!(run_cmds(
|
||||
format!("taskkill /F /IM {}", WIN_MAG_INJECTED_PROCESS_EXE),
|
||||
false,
|
||||
"kill_broker"
|
||||
));
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in new issue
Block a user