diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 5db80188ed..fc74f18154 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -125,7 +125,8 @@ This will allow specifier to create images that fir perfectly in the project tem - https://github.com/eclipse-sirius/sirius-web/issues/2163[#2163] [form] Make EMF default form support non changeable features - https://github.com/eclipse-sirius/sirius-web/issues/4086[#4086] [form] Wrap widget returned by property section in a div with a specific classname - https://github.com/eclipse-sirius/sirius-web/issues/4088[#4088] Change tree item context menu entries internal management - +- https://github.com/eclipse-sirius/sirius-web/issues/4137[#4137] [emf] EMF Resources are no longer unloaded when disposing an editing context. +This avoids a costly conversion of all `EObjects` into proxies at a time when we know they will not be used anymore anyway. == v2024.9.0 diff --git a/packages/emf/backend/sirius-components-emf/pom.xml b/packages/emf/backend/sirius-components-emf/pom.xml index 04c288c8b0..852edea3e6 100644 --- a/packages/emf/backend/sirius-components-emf/pom.xml +++ b/packages/emf/backend/sirius-components-emf/pom.xml @@ -100,9 +100,9 @@ gson - org.eclipse.sirius.emfjson + org.eclipse.sirius org.eclipse.sirius.emfjson - 2.3.12-SNAPSHOT + 2.4.0-SNAPSHOT org.springframework.boot diff --git a/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/api/IEMFEditingContext.java b/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/api/IEMFEditingContext.java index f8377841a2..7fdb74a545 100644 --- a/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/api/IEMFEditingContext.java +++ b/packages/emf/backend/sirius-components-emf/src/main/java/org/eclipse/sirius/components/emf/services/api/IEMFEditingContext.java @@ -12,7 +12,6 @@ *******************************************************************************/ package org.eclipse.sirius.components.emf.services.api; -import org.eclipse.emf.ecore.resource.Resource; import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain; import org.eclipse.sirius.components.core.api.IEditingContext; @@ -32,6 +31,5 @@ public interface IEMFEditingContext extends IEditingContext { @Override default void dispose() { - this.getDomain().getResourceSet().getResources().forEach(Resource::unload); } }