Bug 229351 [Contributions] Customize Perspective dialog removes menu entires
I20080429-0100. (works in 3.4 M6a) 1. start fresh workspace 2. verify that the 'Edit' menu contains, e.g. Cut, Copy, Paste 3. Window > Customize Perspective... 4. click 'Cancel' (alternatively you can go and edit, then click 'OK') 5. observe: menu entries are gone from the 'Edit' menu The user has to restart in order to get the menu working again.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/WorkbenchActionBuilder.java
.removePropertyChangeListener(propPrefListener);
            propPrefListener = null;
        }
        if (resourceListener != null) {
            ResourcesPlugin.getWorkspace().removeResourceChangeListener(resourceListener);
            resourceListener = null;
        }
        pinEditorContributionItem.dispose();
        showInQuickMenu.dispose();
        newQuickMenu.dispose();
        
        
        closeAction = null;
        closeAllAction = null;
        closeAllSavedAction = null;
        closeOthersAction = null;
        saveAction = null;
        saveAllAction = null;
        newWindowAction = null;
		newEditorAction = null;
        helpContentsAction = null;
        helpSearchAction = null;
		dynamicHelpAction = null;
        aboutAction = null;
        openPreferencesAction = null;
        saveAsAction = null;
        hideShowEditorAction = null;
        savePerspectiveAction = null;
        resetPerspectiveAction = null;
        editActionSetAction = null;