| Summary: | Many ComposedAdapterFactory instantiations without disposal | ||
|---|---|---|---|
| Product: | [Modeling] EMFStore | Reporter: | Nikolay Kasyanov <corrmage> |
| Component: | Common | Assignee: | Maximilian Koegel <mkoegel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | emueller, jhelming, mkoegel |
| Version: | unspecified | ||
| Target Milestone: | 0.9.3.M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Nikolay Kasyanov
Thank you for pointing this out, we had this problem before, it still seems to be present! added ComposedAdapterFactory.dispose() where needed! approved approved More issues: org.eclipse.emf.emfstore.client.ui.dialogs.login.ServerInfoSelectionDialog:109 org.eclipse.emf.emfstore.client.ui.dialogs.merge.util.DecisionUtil:35 org.eclipse.emf.emfstore.client.ui.views.emfstorebrowser.dialogs.admin.PropertiesComposite:477 org.eclipse.emf.emfstore.client.ui.views.emfstorebrowser.provider.ESBrowserContentProvider:33 org.eclipse.emf.emfstore.client.ui.views.emfstorebrowser.provider.ESBrowserLabelProvider:32 org.eclipse.emf.emfstore.client.ui.views.historybrowserview.HistoryTableContentProvider:31 org.eclipse.emf.emfstore.client.ui.views.historybrowserview.HistoryTableLabelProvider:36 All credits goes to JDT's Java Search :) I've moved the instantiation of the ComposedAdapterFactory into the Activator of the the client.ui plugin. The factory is disposed upon Activator#stop. Note that DecisionUtil did not own a ComposedAdapterFactory anymore and the HistoryTableContentProvider and HistoryTableLabelProvider classes have been removed, all other occurences of ComposedAdapterFactorys thus have been replaced with a getter. |