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

org.jboss.tools.jst.css: org.jboss.tools.jst.css.dialog.selector.CSSSelectorPartComposite has 4 Image leaks

    Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 3.3.0.M4
    • Fix Version/s: 3.3.0.Beta1
    • Component/s: common
    • Labels:
      None

      Description

      try to test with "Sleak" tool - should get at least 4 images leak:
      line 357: rightButton.setEnabled(false);
      line 371: leftButton.setEnabled(false);
      line 384: upButton.setEnabled(false);
      line 397: downButton.setEnabled(false);

      • these lines responsible for image leaks. To avoid leaks you should call dispose directly in proper place:
        rightButton.dispose();
        leftButton.dispose();
        upButton.dispose();
        downButton.dispose();

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                scabanovich Viacheslav Kabanovich
                Reporter:
                vyemialyanchyk Vitali Yemialyanchyk
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: