Sebb created JCI-71:
-----------------------
Summary: FilesystemAlterationMonitor.stop() does not wait long
enough
Key: JCI-71
URL: https://issues.apache.org/jira/browse/JCI-71
Project: Commons JCI
Issue Type: Bug
Reporter: Sebb
FilesystemAlterationMonitor.stop() waits for the same amount of time as the
run() loop, so it's possible it will exit before the thread has finished.
The stop() method should allow extra time for the loop to process the
checkAndNotify() calls.
Also the run() method should check the running flag before waiting, and
potentially after checking each observer (unless it is important that they are
all run or none of them)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira