From 24369ac3634cfe9c384f23265e69c9075b2b13da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B0=E6=9C=94?= <565183519@qq.com> Date: Mon, 17 Aug 2026 19:17:13 +0800 Subject: [PATCH] fix: gate Unix broker cleanup state by platform --- .../hololake-native-desktop/src-tauri/src/direct_local_broker.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs b/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs index bd5b5e2eb..3fecb2616 100644 --- a/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs +++ b/product-source/hololake-native-desktop/src-tauri/src/direct_local_broker.rs @@ -699,6 +699,7 @@ fn start_at( let authenticated_connections = Arc::new(AtomicUsize::new(0)); let worker_shutdown = Arc::clone(&shutdown); let worker_authenticated_connections = Arc::clone(&authenticated_connections); + #[cfg(unix)] let worker_socket = socket_path.clone(); let (ready_sender, ready_receiver) = mpsc::sync_channel(1); let worker = thread::Builder::new()