Community
Participate
Working Groups
Build Identifier: M20110909-1335 Upon closing an editor, nearly all variables in the EvaluationContext get cleared, but not "activeEditorInput" - it still holds a reference to the last EditorInput, causing a leak. I think this is caused by a missing default entry in the hashmap for "activeEditorInput" in WorkbenchSourceProvider.updateActivaPart(Map currentState, boolean updateShowInSelection). Reproducible: Always Steps to Reproduce: 1. Open one single editor 2. Close the editor 3. "activeEditorInput" variable isn't cleared
A leak of what? IEditorInputs are light-weight objects. It should still be cleared if activeEditor is clear, I think. PW
(In reply to comment #1) > A leak of what? IEditorInputs are light-weight objects. Well, we're using org.eclipse.compare.CompareEditorInput as Input and that doesn't really look like a light-weight object. Additionally, I think the variable should get cleared because otherwise an evaluation of the context could yield wrong results.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.