Project: Eclipse_Platform_UI
Bug 62097 [Perspectives] Toolbar MenuDetect listeners leaking
Reported: 2004-05-13 10:11:03 | Status: verified fixed

When I reset perspective we are leaking ToolBarContributionItem MenuDetect Listeners. STEPS 1) Look at workbench with Optimize It 2) Reset perspective 3) 10 menu detect listeners on items will be left around. Toolbars are not being leaked and we create this listener in ToolBarContributionItem fill(Coolbar,int) using an inner class that we have no reference too. The reference graphs indicates that the Display still has the listener in the event table

Files changed in fix:
bundles/org.eclipse.jface/src/org/eclipse/jface/action/ToolBarContributionItem.java