Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2006-02-14 19:10:21 -0500
committerDarin Swanson2006-02-14 19:10:21 -0500
commit26588166993c0cf0fffd7be7e5ca01d5d320f8ea (patch)
tree3ca811be1466e64eb69b2d2375257ea1f1f5d4a3 /org.eclipse.ui.console
parent13667450a083a85a324bf8096f40784721431b3d (diff)
downloadeclipse.platform.debug-26588166993c0cf0fffd7be7e5ca01d5d320f8ea.tar.gz
eclipse.platform.debug-26588166993c0cf0fffd7be7e5ca01d5d320f8ea.tar.xz
eclipse.platform.debug-26588166993c0cf0fffd7be7e5ca01d5d320f8ea.zip
Bug 127946 - Leak: ConsoleView never deregistered from the ConsoleManager
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
index 9fef36544..eb922a4c3 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * Copyright (c) 2000, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -170,7 +170,7 @@ public class ConsoleView extends PageBookView implements IConsoleView, IConsoleL
}
/**
- * Activates the participants fot the given console, if any.
+ * Activates the participants for the given console, if any.
*
* @param console
*/
@@ -304,7 +304,7 @@ public class ConsoleView extends PageBookView implements IConsoleView, IConsoleL
getViewSite().getPage().removePartListener((IPartListener2)this);
ConsoleManager consoleManager = (ConsoleManager) ConsolePlugin.getDefault().getConsoleManager();
consoleManager.removeConsoleListener(this);
- consoleManager.registerConsoleView(this);
+ consoleManager.unregisterConsoleView(this);
}
/**

Back to the top