[nik] fixed disposing facet editors

This commit is contained in:
Dennis Ushakov
2009-10-23 18:45:11 +04:00
parent f9d5a95d4f
commit d3a2f74a88
@@ -242,8 +242,7 @@ public class ModulesConfigurator implements ModulesProvider, ModuleEditor.Change
catch (ConfigurationException e) {
ex[0] = e;
}
finally {
myFacetsConfigurator.disposeEditors();
finally {
ModuleStructureConfigurable.getInstance(myProject).getFacetEditorFacade().clearMaps();
for (final ModuleEditor moduleEditor : myModuleEditors) {