fix(core): reduce async blocking and allocation hotspots

This commit is contained in:
t8y2 committed 2026-05-23 14:45:45 +08:00
1 parent 811214e3a1
commit d326519247
9 files changed
+96 -86

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ async fn clear_cancelled(import_id: &str) {
#[tauri::command]
pub async fn preview_table_import_file(file_path: String) -> Result<TableImportPreview, String> {
dbx_core::table_import::preview_table_import_file_core(&file_path)
dbx_core::table_import::preview_table_import_file_core(&file_path).await
}
#[tauri::command]