mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix Tailer stop NPE
This commit is contained in:
parent
80bdac99d9
commit
83c82f8e5b
@ -174,7 +174,9 @@ public class Tailer implements Serializable {
|
||||
this.executorService.shutdown();
|
||||
}finally {
|
||||
IoUtil.close(this.randomAccessFile);
|
||||
fileDeleteWatchMonitor.close();
|
||||
if (fileDeleteWatchMonitor != null) {
|
||||
fileDeleteWatchMonitor.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user