mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
myWatchedProjectCount should be nonnegative
This commit is contained in:
+1
-1
@@ -196,7 +196,7 @@ public class TranslatingCompilerFilesMonitor implements ApplicationComponent {
|
||||
return;
|
||||
}
|
||||
FileUtil.createIfDoesntExist(CompilerPaths.getRebuildMarkerFile(project));
|
||||
--myWatchedProjectsCount;
|
||||
if (myWatchedProjectsCount > 0) --myWatchedProjectsCount;
|
||||
if (ourDebugMode) {
|
||||
System.out.println("After suspend for project:"+projectId + "," + myWatchedProjectsCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user