git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 4.6.1
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
TempFiles.java
diff --git
a/src/be/nikiroo/utils/TempFiles.java
b/src/be/nikiroo/utils/TempFiles.java
index a16e9e40c50e152bb6ef7e31d0ba59d0207b1041..186bfb8938ad42ba9300abb80fb3c6180ab30b9c 100644
(file)
--- a/
src/be/nikiroo/utils/TempFiles.java
+++ b/
src/be/nikiroo/utils/TempFiles.java
@@
-130,6
+130,7
@@
public class TempFiles implements Closeable {
public synchronized void close() throws IOException {
IOUtils.deltree(root); // NO exception here
root.getParentFile().delete(); // only if empty
+ root = null;
}
@Override