diff options
author | Christian W. Damus | 2014-11-15 15:59:32 +0000 |
---|---|---|
committer | Christian W. Damus | 2014-11-15 15:59:32 +0000 |
commit | 4ce552bd5e30f589bd4ad3e313db3b573a73089c (patch) | |
tree | a7bff60f24e89304e3359f5709e8bf53c2a010ef /plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus | |
parent | d0557a86e852fd7ae0d3d428380d2fdf9b3733d5 (diff) | |
download | org.eclipse.papyrus-4ce552bd5e30f589bd4ad3e313db3b573a73089c.tar.gz org.eclipse.papyrus-4ce552bd5e30f589bd4ad3e313db3b573a73089c.tar.xz org.eclipse.papyrus-4ce552bd5e30f589bd4ad3e313db3b573a73089c.zip |
451683: Memory leak in stereotype repair
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451683
Fix memory leaks in:
- the common navigator framework (Model Explorer)
- the Papyrus EMF Facet tree content provider (Model Explorer)
- the GMF diagram outline page (SynchronizableGmfDiagramEditor)
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus')
-rw-r--r-- | plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus/emf/facet/custom/ui/internal/CustomizedTreeContentProvider.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus/emf/facet/custom/ui/internal/CustomizedTreeContentProvider.java b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus/emf/facet/custom/ui/internal/CustomizedTreeContentProvider.java index ead389ac0df..c6e86d7115a 100644 --- a/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus/emf/facet/custom/ui/internal/CustomizedTreeContentProvider.java +++ b/plugins/facet/org.eclipse.papyrus.emf.facet.custom.ui/src/org/eclipse/papyrus/emf/facet/custom/ui/internal/CustomizedTreeContentProvider.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2012, 2014 Mia-Software, CEA, and others. + * Copyright (c) 2012, 2014 Mia-Software, CEA, Christian W. Damus, and others. * 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 @@ -13,6 +13,7 @@ * Christian W. Damus (CEA) - bug 440795 * Christian W. Damus (CEA) - bug 441857 * Sebastien Gabel (Esterel Technologies) - Bug 438931 - Non deterministic order of the facet references defined in custom file + * Christian W. Damus - bug 451683 * *******************************************************************************/ package org.eclipse.papyrus.emf.facet.custom.ui.internal; @@ -503,5 +504,6 @@ public class CustomizedTreeContentProvider implements ICustomizedTreeContentProv public void dispose() { cache.clear(); + rootElements = null; } }
\ No newline at end of file |