mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复Tailer stop NPE问题\
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
# 🚀Changelog
|
# 🚀Changelog
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.22(2023-09-05)
|
# 5.8.22(2023-09-08)
|
||||||
|
|
||||||
### 🐣新特性
|
### 🐣新特性
|
||||||
* 【core 】 NumberUtil.nullToZero增加重载(issue#I7PPD2@Gitee)
|
* 【core 】 NumberUtil.nullToZero增加重载(issue#I7PPD2@Gitee)
|
||||||
@@ -31,6 +31,7 @@
|
|||||||
* 【core 】 修复Convert不能转换Optional和Opt问题(issue#I7WJHH@Gitee)
|
* 【core 】 修复Convert不能转换Optional和Opt问题(issue#I7WJHH@Gitee)
|
||||||
* 【core 】 修复DateUtil.age年龄计算问题(issue#I7XMYW@Gitee)
|
* 【core 】 修复DateUtil.age年龄计算问题(issue#I7XMYW@Gitee)
|
||||||
* 【core 】 修复JSONUtil.parse()溢出问题(issue#3289@Github)
|
* 【core 】 修复JSONUtil.parse()溢出问题(issue#3289@Github)
|
||||||
|
* 【core 】 修复Tailer stop NPE问题(pr#1067@Gitee)
|
||||||
|
|
||||||
-------------------------------------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------------------------------------
|
||||||
# 5.8.21(2023-07-29)
|
# 5.8.21(2023-07-29)
|
||||||
|
@@ -174,9 +174,7 @@ public class Tailer implements Serializable {
|
|||||||
this.executorService.shutdown();
|
this.executorService.shutdown();
|
||||||
}finally {
|
}finally {
|
||||||
IoUtil.close(this.randomAccessFile);
|
IoUtil.close(this.randomAccessFile);
|
||||||
if (fileDeleteWatchMonitor != null) {
|
IoUtil.close(this.fileDeleteWatchMonitor);
|
||||||
fileDeleteWatchMonitor.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user