mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-16 13:05:47 +00:00
refact: android ios, lan discovery (#9207)
* refact: android ios, lan discovery Signed-off-by: fufesou <linlong1266@gmail.com> * fix: build and runtime error Signed-off-by: fufesou <linlong1266@gmail.com> --------- Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -692,7 +692,6 @@ pub fn create_shortcut(_id: String) {
|
||||
#[cfg(any(target_os = "android", target_os = "ios", feature = "flutter"))]
|
||||
#[inline]
|
||||
pub fn discover() {
|
||||
#[cfg(not(any(target_os = "ios")))]
|
||||
std::thread::spawn(move || {
|
||||
allow_err!(crate::lan::discover());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user