Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 370119 | Differences between
and this patch

Collapse All | Expand All

(-)Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java (-1 / +1 lines)
Lines 575-581 Link Here
575
		String commandId = globalAction.getActionDefinitionId();
575
		String commandId = globalAction.getActionDefinitionId();
576
576
577
		if (commandId != null) {
577
		if (commandId != null) {
578
			final Object value = globalActionHandlersByCommandId.get(commandId);
578
			final Object value = globalActionHandlersByCommandId.remove(commandId);
579
			if (value instanceof ActionHandler) {
579
			if (value instanceof ActionHandler) {
580
				// This handler is about to get clobbered, so dispose it.
580
				// This handler is about to get clobbered, so dispose it.
581
				final ActionHandler handler = (ActionHandler) value;
581
				final ActionHandler handler = (ActionHandler) value;

Return to bug 370119