Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-04-03 13:45:10 +0000
committerMichael Valenta2007-04-03 13:45:10 +0000
commitcd87a091e1bbf233ba68f527f51b52826fe43a08 (patch)
treec30d36549fe9b8f713ca8b542923b95ce504d427 /bundles/org.eclipse.compare
parent7d3ce8fc5fc4d734aae7bb6bd413973912327302 (diff)
downloadeclipse.platform.team-cd87a091e1bbf233ba68f527f51b52826fe43a08.tar.gz
eclipse.platform.team-cd87a091e1bbf233ba68f527f51b52826fe43a08.tar.xz
eclipse.platform.team-cd87a091e1bbf233ba68f527f51b52826fe43a08.zip
Bug 126442 [Viewers] each compare editor is leaked
Diffstat (limited to 'bundles/org.eclipse.compare')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java2
-rw-r--r--bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
index bc4133d5d..87d3f18b2 100644
--- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
@@ -537,6 +537,8 @@ public abstract class CompareEditorInput implements IEditorInput, IPropertyChang
* @since 3.3
*/
protected void handleDispose() {
+ fContainerProvided = false;
+ fContainer = null;
fCompareConfiguration.dispose();
}
diff --git a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
index bc4133d5d..87d3f18b2 100644
--- a/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
+++ b/bundles/org.eclipse.compare/plugins/org.eclipse.compare/compare/org/eclipse/compare/CompareEditorInput.java
@@ -537,6 +537,8 @@ public abstract class CompareEditorInput implements IEditorInput, IPropertyChang
* @since 3.3
*/
protected void handleDispose() {
+ fContainerProvided = false;
+ fContainer = null;
fCompareConfiguration.dispose();
}

Back to the top