Merge pull request #1592 from dcrewi/feature/delete-temp-file

delete temporary export file when finished
This commit is contained in:
Alexander Bakker 2025-01-24 14:17:01 +01:00 committed by GitHub
commit ad2dc803fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,6 +34,8 @@ public class ExportTask extends ProgressDialogTask<ExportTask.Params, Exception>
return null; return null;
} catch (IOException e) { } catch (IOException e) {
return e; return e;
} finally {
boolean ignored = params.getFile().delete();
} }
} }