Project: Eclipse_Platform_UI
Bug 154730 [Presentations] Editor PresentationStack never gets disposed when IWorkbenchConfigurer.setSaveAndRestore(true)
Reported: 2006-08-22 14:23:54 | Status: verified fixed

Typically (with one workbench window,etc) a single stack is created for editors. But when you call IWorkbenchConfigurer.setSaveAndRestore(true), another editor stack is created (presumably to make it easier to restore the state). This new editor stack seems to become the current editor stack. The first editor stack that was created sticks around and is never disposed, even on shutdown. This can be easily demonstrated by simply putting some sysout statements in the creation and disposal of a presentation (two creations, one dispose).

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