Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10221 Resorce leak problems in JBossTools
  3. JBIDE-10227

GC leak in org.jboss.tools.common.model.ui.widgets.TextAndReferenceComponent

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta1
    • 3.3.0.M4
    • common
    • None

      	public Point computeSize(int wHint, int hHint, boolean changed) {
      		width = (wHint == SWT.DEFAULT) ? defaultWidth : wHint;
      		GC g = new GC(this);
      		g.setFont(getFont());
      		lines = Tokenizer.breakIntoLines(g, tokens, width);
      		return new Point(width + 10, lines.length * lineHeight + 6);
      	}
      

              scabanovich Viacheslav Kabanovich (Inactive)
              vyemialyanchyk_jira Vitali Yemialyanchyk (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: