mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-104500 Gradle: Allow to reuse common logic for other external systems
Don't process orphan external modules when the project is already closed
This commit is contained in:
+1
-1
@@ -199,7 +199,7 @@ public class ExternalSystemUtil {
|
||||
|
||||
@Override
|
||||
public void onFailure(@NotNull String errorMessage, @Nullable String errorDetails) {
|
||||
if (--myCounter <= 0) {
|
||||
if (--myCounter <= 0 && !project.isDisposed()) {
|
||||
processOrphanModules();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user