Community
Participate
Working Groups
The DefaultProvider had a member IMapMode mm decalred on it and at one point this member points to DiagramRenderedScalableFreeformLayeredPane which had pointer to the DiagramEditPart this will result in keeping the DiagramEditPart and the DIagram View with all of its children from being collected by the GC, even if you close the diagram and even the project that contains the model containing the Diagram In general i think the providers whould not have any state variable on them cause they will stay in memmory till some one NULLs them
- Instance of IMapMode was being cached that was implemented by the ScalableFreeformLayeredPane which is help onto by the DiagramRootEditPart which is held by the Editor thereby causing an Editor leak (== bad). Made sure to null the cached variable before exiting the DefaultProvider api.
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug