mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
修复Tailer stop NPE问题\
This commit is contained in:
parent
b357fdcc8a
commit
ce56d9331a
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user