IDEA-100765 (note fsnotifier's sudden death when waiting)

This commit is contained in:
Roman Shevchenko
2013-02-11 10:33:21 +01:00
parent 09df3b6400
commit ed3c8d9ba0
@@ -203,7 +203,7 @@ public class FileWatcher {
if (myStartAttemptCount++ > MAX_PROCESS_LAUNCH_ATTEMPT_COUNT) {
notifyOnFailure(ApplicationBundle.message("watcher.failed.to.start"), null);
throw new IOException("Can't launch process anymore");
return;
}
if (restart) {
@@ -245,7 +245,7 @@ public class FileWatcher {
}
public boolean isSettingRoots() {
return mySettingRoots.get() > 0;
return isOperational() && mySettingRoots.get() > 0;
}
public static class DirtyPaths {