diff options
| author | Laurent Fasani | 2017-06-20 09:26:12 +0000 |
|---|---|---|
| committer | Laurent Fasani | 2017-07-07 15:55:19 +0000 |
| commit | 3a2a27d2c694c97829c96a075b32fb6c58f00c64 (patch) | |
| tree | 211b7b920d2929ce7f4765cf5458e73e5cd4e568 | |
| parent | 366d87a710b88df8aefaa2625d8674747817ddbf (diff) | |
| download | org.eclipse.sirius-3a2a27d2c694c97829c96a075b32fb6c58f00c64.tar.gz org.eclipse.sirius-3a2a27d2c694c97829c96a075b32fb6c58f00c64.tar.xz org.eclipse.sirius-3a2a27d2c694c97829c96a075b32fb6c58f00c64.zip | |
[516669] Prevent srm resources loading at Session.close
Bug: 516669
Change-Id: If34fabe8aa3ed414617b7cc65290a4a8b8fa4020
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
| -rw-r--r-- | plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/componentization/mappings/DiagramMappingsManagerRegistryImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/componentization/mappings/DiagramMappingsManagerRegistryImpl.java b/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/componentization/mappings/DiagramMappingsManagerRegistryImpl.java index bb18522b28..53efd557f9 100644 --- a/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/componentization/mappings/DiagramMappingsManagerRegistryImpl.java +++ b/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/componentization/mappings/DiagramMappingsManagerRegistryImpl.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2015 THALES GLOBAL SERVICES. + * Copyright (c) 2009, 2017 THALES GLOBAL SERVICES. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -151,7 +151,7 @@ public final class DiagramMappingsManagerRegistryImpl extends AdapterImpl implem private void cleanDiagramMappingsManagers(final Session session) { final Set<DDiagram> diagramInSession = new HashSet<DDiagram>(); - for (final DRepresentation representation : DialectManager.INSTANCE.getAllRepresentations(session)) { + for (final DRepresentation representation : DialectManager.INSTANCE.getAllLoadedRepresentations(session)) { if (representation instanceof DDiagram) { diagramInSession.add((DDiagram) representation); } |
