From 1348364aa30b7a56c94822168c69b748c11e237f Mon Sep 17 00:00:00 2001 From: kura Date: Fri, 1 May 2026 17:25:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E4=B8=8D=E8=B6=B3=20batch=5F?= =?UTF-8?q?size=20=E7=9A=84=E7=89=87=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src-tauri/src/task.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src-tauri/src/task.rs b/src-tauri/src/task.rs index 071c73d..e876880 100644 --- a/src-tauri/src/task.rs +++ b/src-tauri/src/task.rs @@ -285,6 +285,7 @@ async fn run_pipeline( // Close channel to signal translation worker to flush and finish drop(segment_tx); + drop(seg_tx_for_callback); if let Some(handle) = translate_join_handle { handle.await.unwrap_or_else(|join_error| { eprintln!("translation worker panicked: {join_error:?}");