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/console/TextConsoleViewer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java
index c6562025c..50c1a8e2d 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/TextConsoleViewer.java
@@ -589,7 +589,13 @@ public class TextConsoleViewer extends SourceViewer implements LineStyleListener
styledText.removeLineBackgroundListener(this);
styledText.removeMouseTrackListener(this);
+ if(handCursor != null) {
+ handCursor.dispose();
+ }
handCursor = null;
+ if(textCursor != null) {
+ textCursor.dispose();
+ }
textCursor = null;
hyperlink = null;
console = null;

Back to the top