mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 16:35:19 +00:00
debug, win, privacy mode, broker
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
1 parent
32c349dd8b
commit
e80da4af0d
4 files changed
+16
-27
No files matched your search
@@ -931,23 +931,10 @@ pub mod connection_manager {
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" fn cm_clear_hook() {
|
||||
#[cfg(target_os = "windows")]
|
||||
crate::privacy_win_mag::stop();
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn cm_init() {
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
start_listen_ipc_thread();
|
||||
#[cfg(target_os = "windows")]
|
||||
shutdown_hooks::add_shutdown_hook(cm_clear_hook);
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn cm_clear() {
|
||||
#[cfg(target_os = "windows")]
|
||||
crate::privacy_win_mag::stop();
|
||||
}
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
|
||||
Reference in new issue
Block a user