From 3c5ab6bc297ca20a4657c4dbdca70ae2eab5d86d Mon Sep 17 00:00:00 2001 From: "Vladislav.Soroka" Date: Wed, 19 Mar 2014 11:35:58 +0400 Subject: [PATCH] EA-53645 - assert: ComponentManagerImpl.getComponent --- .../intellij/openapi/externalSystem/util/ExternalSystemUtil.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/util/ExternalSystemUtil.java b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/util/ExternalSystemUtil.java index 245372314fc6..3a5572193aac 100644 --- a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/util/ExternalSystemUtil.java +++ b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/util/ExternalSystemUtil.java @@ -237,6 +237,7 @@ public class ExternalSystemUtil { } private void processOrphanModules() { + if(project.isDisposed()) return; if(ExternalSystemDebugEnvironment.DEBUG_ORPHAN_MODULES_PROCESSING) { LOG.info(String.format( "Checking for orphan modules. External paths returned by external system: '%s'", myExternalModulePaths