Bug 88352 Operation supports leaks contexts via action handler
I20050315-1100 Susan, this is a different leak from the one that I reported. Test Case: 1. open text editor 2. close text editor ==> DefaultUndoManager is leaked due to undo/redo actions handlers still holding on to the context.
bundles/org.eclipse.core.commands/src/org/eclipse/core/commands/operations/DefaultOperationHistory.java
size--;
				index++;
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.commands.operations.IOperationHistory#getLimit()
	 */
	public int getLimit(IUndoContext context) {
		if (!limits.containsKey(context)) {
			return DEFAULT_LIMIT;
		}
		return ((Integer)(limits.get(context))).intValue();
	}
	/*
	 * Consult the IOperationApprovers to see if the proposed redo should be allowed.
	 */
	protected IStatus getRedoApproval(IUndoableOperation operation, IAdaptable info) {
		for (int i = 0; i < approvers.size(); i++) {
			IStatus approval = ((IOperationApprover) approvers.get(i))
					.proceedRedoing(operation, this, info);
			if (!approval.isOK())
				return approval;
		}
		return Status.OK_STATUS;
	}
	/*
	 * (non-Javadoc)