From 3178f9bf4ae7b6c7790613f8148c3cd5a1184a19 Mon Sep 17 00:00:00 2001 From: Pierre-Charles David Date: Fri, 29 Mar 2024 09:07:27 +0100 Subject: [PATCH] [338] Workaround memory leak in GMF Runtime Bug: https://github.com/eclipse-sirius/sirius-desktop/issues/338 Signed-off-by: Pierre-Charles David --- .../diagram/ui/edit/api/part/AbstractDiagramEdgeEditPart.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/edit/api/part/AbstractDiagramEdgeEditPart.java b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/edit/api/part/AbstractDiagramEdgeEditPart.java index 99484911c8..9d59725db9 100644 --- a/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/edit/api/part/AbstractDiagramEdgeEditPart.java +++ b/plugins/org.eclipse.sirius.diagram.ui/src-diag/org/eclipse/sirius/diagram/ui/edit/api/part/AbstractDiagramEdgeEditPart.java @@ -445,6 +445,7 @@ public void activate() { @Override public void deactivate() { if (isActive()) { + removeNotationalListeners(); DiagramEdgeEditPartOperation.deactivate(this); DiagramElementEditPartOperation.deactivate(this); super.deactivate();