修复Tailer stop NPE问题\

This commit is contained in:
Looly 2023-09-08 19:13:37 +08:00
parent b357fdcc8a
commit ce56d9331a
2 changed files with 3 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# 🚀Changelog
-------------------------------------------------------------------------------------------------------------
# 5.8.22(2023-09-05)
# 5.8.22(2023-09-08)
### 🐣新特性
* 【core 】 NumberUtil.nullToZero增加重载issue#I7PPD2@Gitee
@ -31,6 +31,7 @@
* 【core 】 修复Convert不能转换Optional和Opt问题issue#I7WJHH@Gitee
* 【core 】 修复DateUtil.age年龄计算问题issue#I7XMYW@Gitee
* 【core 】 修复JSONUtil.parse()溢出问题issue#3289@Github
* 【core 】 修复Tailer stop NPE问题pr#1067@Gitee
-------------------------------------------------------------------------------------------------------------
# 5.8.21(2023-07-29)

View File

@ -174,9 +174,7 @@ public class Tailer implements Serializable {
this.executorService.shutdown();
}finally {
IoUtil.close(this.randomAccessFile);
if (fileDeleteWatchMonitor != null) {
fileDeleteWatchMonitor.close();
}
IoUtil.close(this.fileDeleteWatchMonitor);
}
}