From d98e23a1e59c76b8a623eba78612471ece05b68c Mon Sep 17 00:00:00 2001 From: David Creswick Date: Sun, 5 Jan 2025 16:18:01 -0600 Subject: [PATCH] delete temporary export file when finished --- .../java/com/beemdevelopment/aegis/ui/tasks/ExportTask.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/beemdevelopment/aegis/ui/tasks/ExportTask.java b/app/src/main/java/com/beemdevelopment/aegis/ui/tasks/ExportTask.java index 590e05d024..79943ac2d1 100644 --- a/app/src/main/java/com/beemdevelopment/aegis/ui/tasks/ExportTask.java +++ b/app/src/main/java/com/beemdevelopment/aegis/ui/tasks/ExportTask.java @@ -34,6 +34,8 @@ protected Exception doInBackground(ExportTask.Params... args) { return null; } catch (IOException e) { return e; + } finally { + boolean ignored = params.getFile().delete(); } }