Community
Participate
Working Groups
The class org.eclipse.wst.common.componentcore.datamodel.FacetProjectCreationDataModelProvider creates listeners (IFacetedProjectListener and IDataModelListener) that are not cleaned up in the dispose method. This can cause problem in case other classes are using the data model after the provider is disposed. In fact, the provider should not act on the model if it has been already disposed.
Created attachment 203304 [details] Proposed patch Patch to remove the listeners on dispose. The model is set to null as well, given that this class should not act on the model after being disposed.
Committed to R3_2_maintenance for WTP 3.2.5. I am leaving this open to get it into 3.3.2 and 3.4.0.
Bug 357846 created for 3.3.2 and HEAD. Resolving this defect