Project: Eclipse_Platform_UI
Bug 186025 [Viewers] Virtual Manager should be cleared when Viewer is disposed
Reported: 2007-05-08 15:48:07 | Status: resolved fixed

Got a nasty memory leak where the Workbench would keep my disposed viewer in a field since it was registered as a selection provider. In StructuredViewer#handleDisposed(), the input is set to null, however this does not clear a possible virtual manager being used from the Table Viewer. The Table Viewer should clear the cache of the virtual manager on handleDispose to make sure, no reference to any model object is retained.

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/AbstractTableViewer.java