commit | af9ef0f214eb2584a655ef0e310f33fe8c5b7bec | [log] [tgz] |
---|---|---|
author | Guillaume Nodet <gnodet@apache.org> | Mon Jun 06 18:27:57 2011 +0000 |
committer | Guillaume Nodet <gnodet@apache.org> | Mon Jun 06 18:27:57 2011 +0000 |
tree | 991f098e26547046c3055c45a624eed2f7b0b3b4 | |
parent | 2560c7a589efb7a55a6a3dbde7ed23b7bacfee89 [diff] |
[FELIX-2982] noInitialDelay option does not work (fix possible pb when the initial polling delay is interrupted git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1132718 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java index 374431f..4f966df 100644 --- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java +++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/DirectoryWatcher.java
@@ -250,6 +250,7 @@ } catch (InterruptedException e) { log(Logger.LOG_DEBUG, "Watcher for " + watchedDirectory + " was interrupted while waiting " + poll + " milliseconds for initial directory scan.", e); + return; } initializeCurrentManagedBundles(); }