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
status = Status.CANCEL_STATUS;
			} catch (ExecutionException e) {
				notifyNotOK(operation);
				throw e;
			} catch (Exception e) {
				notifyNotOK(operation);
				throw new ExecutionException(
						"While redoing the operation, an exception occurred", e); 
			}
		}
		
		
		if (status.isOK()) {
			redoList.remove(operation);
			
			 
			
			
			 
			
			if (operation.canUndo()) {
				checkUndoLimit(operation);
				undoList.add(operation);
			}
			
			notifyRedone(operation);
		} else {
			notifyNotOK(operation);
			if (flushOnError && status.getSeverity() == IStatus.ERROR) {
				remove(operation);