mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 04:19:12 +00:00
469241 Use null WatchService as loop terminator for PathWatcher.
This commit is contained in:
parent
8c89f141ab
commit
2ff20414fa
@ -1244,7 +1244,7 @@ public class PathWatcher extends AbstractLifeCycle implements Runnable
|
||||
LOG.debug("Starting java.nio file watching with {}",watchService);
|
||||
}
|
||||
|
||||
while (true)
|
||||
while (watchService != null)
|
||||
{
|
||||
WatchKey key = null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user