... so that a failure to delete one directory will not prevent the rest from deleted.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@22271 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-09-28 22:03:53 +00:00
1 parent 6fb51882fc
commit b989611ea8
1 file changed
+7 -7
@@ -90,14 +90,14 @@ public class TemporaryDirectoryAllocator {
new Thread("Disposing "+base) {
public void run() {
try {
for (File dir : tbr)
for (File dir : tbr)
try {
new FilePath(dir).deleteRecursive();
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}
}
}.start();
}