mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-100765 (note fsnotifier's sudden death when waiting)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user