Project: Eclipse_Platform_UI
Bug 183448 [Contributions] IActionDelegate2.dispose() does not get called when view is closed
Reported: 2007-04-20 15:44:35 | Status: verified fixed

I20070418 I have a toolbar action that implements IViewActionDelegate and IActionDelegate2. (SwitchMemoryBlock action from Memory View in Debug.) When the view is opend, init methods for the action are called. When the view is closed, the dispose method of the action is not called. Checked with 3.2.2, the dispose method should be called when the view is closed.

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewActionBuilder.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/ViewReference.java