Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/internal/console/ConsoleView.java2
1 files changed, 1 insertions, 1 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 4c465cfc0..1cd124c46 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
@@ -342,11 +342,11 @@ public class ConsoleView extends PageBookView implements IConsoleView, IConsoleL
* @see org.eclipse.ui.IWorkbenchPart#dispose()
*/
public void dispose() {
- super.dispose();
IViewSite site = getViewSite();
if(site != null) {
site.getPage().removePartListener((IPartListener2)this);
}
+ super.dispose();
ConsoleManager consoleManager = (ConsoleManager) ConsolePlugin.getDefault().getConsoleManager();
consoleManager.removeConsoleListener(this);
consoleManager.unregisterConsoleView(this);

Back to the top