1 parent 9b014ca commit e8139b8Copy full SHA for e8139b8
1 file changed
src-tauri/src/export_processing.rs
@@ -697,11 +697,11 @@ fn export_adjustments_as_lut(
697
convert_image_to_cube_lut(&processed_lut, lut_size)
698
}
699
700
-struct ExportHandleGuide {
+struct ExportHandleGuard {
701
app_handle: tauri::AppHandle,
702
703
704
-impl Drop for ExportHandleGuide {
+impl Drop for ExportHandleGuard {
705
fn drop(&mut self) {
706
if let Ok(mut handle_lock) = self
707
.app_handle
@@ -763,7 +763,7 @@ pub async fn export_images(
763
);
764
765
let task = tokio::spawn(async move {
766
- let _export_guard = ExportHandleGuide {
+ let _export_guard = ExportHandleGuard {
767
app_handle: app_handle.clone(),
768
};
769
let output_folder_path = std::path::Path::new(&output_folder_or_file);
0 commit comments