Community
Participate
Working Groups
ILabelProvider from DialectUIManager.INSTANCE.getHierarchyLabelProvider(labelProvider) callers are not disposed. For example org.eclipse.sirius.editor.properties.sections.common.AbstractEditorDialogWithListPropertySection.createButtonListener() we create a LabelProvider which use an AdapterFactory which is never disposed. In this case the LabelProvider should be disposed just after dialog close.
See oes.editor.properties.sections.common.AbstractEditorDialogWithListPropertySection See oes.editor.properties.sections.common.AbstractEditorDialogPropertySection
Esteban, could add a reproduction scenario ? To guide the tests and homologation.
A scenario in debug : 1. Set a breakpoint in each MinimalEObjectImpl$ArrayDelegatingAdapterList.didAdd()/didAdd() methods 2. Open a odesign with a DiagramDescription, an EdgeMapping with its StyleDescription and a Reconnection tool 3. In the mappings property section of the Reconnection tool, click on "..." button to open the FeatureEditorDialog which use a ILabelProvider from DialectUIManager.INSTANCE.getHierarchyLabelProvider(labelProvider) whose labelProvider is a ComposedAdapterFactory. Open and close several times this dialog and see in debug the number of adapters growing, EdgeMappingItemProvider in this case.