Merge branch '1.5.x'

This commit is contained in:
Stephane Nicoll
2017-11-07 08:46:29 +01:00
2 changed files with 7 additions and 1 deletions

View File

@@ -193,7 +193,7 @@ public class FileSystemWatcher {
}
this.watchThread = null;
}
if (Thread.currentThread() != thread) {
if (thread != null && Thread.currentThread() != thread) {
try {
thread.join();
}