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
*/
	public void openOperation(IUndoableOperation operation) {
		if (batchingOperation != null) {
			
			
			closeOperation(false, false);	
		} 
		batchingOperation = operation;
		notifyAboutToExecute(operation);	
	}
	
	/**
	 * @see org.eclipse.core.commands.operations.IOperationHistory#closeOperation()
	 * @deprecated
	 */
	public void closeOperation() {
		closeOperation(true, true);
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.core.commands.operations.IOperationHistory#closeOperation(boolean, boolean)
	 */
	public void closeOperation(boolean operationOK, boolean addToHistory) {
		if (batchingOperation != null) {
			if (operationOK) {
				notifyDone(batchingOperation);
				if (addToHistory) add(batchingOperation);
			} else {
				notifyNotOK(batchingOperation);