tmp commit

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow
2023-07-09 00:41:23 +08:00
parent 8bb851704a
commit 32c349dd8b
4 changed files with 20 additions and 7 deletions

View File

@@ -1448,13 +1448,13 @@ pub fn main_use_texture_render() -> SyncReturn<bool> {
}
}
pub fn cm_start_listen_ipc_thread() {
pub fn cm_init() {
#[cfg(not(any(target_os = "android", target_os = "ios")))]
crate::flutter::connection_manager::start_listen_ipc_thread();
crate::flutter::connection_manager::cm_init();
}
pub fn cm_clear() {
#[cfg(target_os = "windows")]
#[cfg(not(any(target_os = "android", target_os = "ios")))]
crate::flutter::connection_manager::cm_clear();
}