提交 b9f01475 authored 作者: Thomas Mueller's avatar Thomas Mueller

The garbage collection thread was blocked sometimes.

上级 9f66c993
......@@ -327,12 +327,8 @@ public class TraceSystem implements TraceWriter {
}
fileWriter = null;
}
try {
if (fileName != null && FileUtils.length(fileName) == 0) {
FileUtils.delete(fileName);
}
} catch (SQLException e) {
// ignore
if (fileName != null && FileUtils.length(fileName) == 0) {
FileUtils.tryDelete(fileName);
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论