debug, win, privacy mode, broker

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow committed 2023-07-09 02:06:24 +08:00
1 parent 32c349dd8b
commit e80da4af0d
4 files changed
+16 -27

No files matched your search

-13
View File
@@ -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")]