Small fixes:
[nikiroo-utils.git] / src / be / nikiroo / fanfix / Main.java
index e1b9c650c328b91a47c57d4b2e4f97c38262c265..42f3924daa811bdb1bb6e121d38c01b651bf828b 100644 (file)
@@ -351,6 +351,14 @@ public class Main {
                        }
                }
 
+               try {
+                       Instance.getTempFiles().close();
+               } catch (IOException e) {
+                       Instance.getTraceHandler()
+                                       .error(new IOException(
+                                                       "Cannot dispose of the temporary files", e));
+               }
+
                if (exitCode == 255) {
                        syntax(false);
                }