Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarin Swanson2001-06-06 11:19:32 +0000
committerDarin Swanson2001-06-06 11:19:32 +0000
commite28d7baa8612ea6b1c7c1b377307aac593ba4ea8 (patch)
tree615e415ccca0b153b38f0509056a2bac4817d06a
parent429fbb221d7614cbacaf064b822aeb292996b18d (diff)
downloadeclipse.platform.debug-e28d7baa8612ea6b1c7c1b377307aac593ba4ea8.tar.gz
eclipse.platform.debug-e28d7baa8612ea6b1c7c1b377307aac593ba4ea8.tar.xz
eclipse.platform.debug-e28d7baa8612ea6b1c7c1b377307aac593ba4ea8.zip
1GETARQ
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ConsoleViewer.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ConsoleViewer.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ConsoleViewer.java
index c093a27dc..6033cc9c5 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ConsoleViewer.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/ConsoleViewer.java
@@ -5,7 +5,7 @@ package org.eclipse.debug.internal.ui;
* All Rights Reserved.
*/
-import org.eclipse.jface.text.*; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyleRange; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.events.VerifyListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.FontData; import org.eclipse.swt.widgets.Composite;
+import org.eclipse.jface.text.*; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyleRange; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.events.VerifyListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.FontData; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Control;
public class ConsoleViewer extends TextViewer implements IPropertyChangeListener{
@@ -161,6 +161,7 @@ public class ConsoleViewer extends TextViewer implements IPropertyChangeListener
* Dispose this viewer and resources
*/
protected void dispose() {
+ DebugUIPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this);
fFont.dispose();
}
}

Back to the top