Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-792

memory leak : window is still referenced after window.close() when using acitvity indicator or other timer-related callback components

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0
    • 2.5
    • None
    • None
    • current pivot trunk

    Description

      memory leak : window is still referenced after window.close() when using acitvity indicator or other timer-related callback components

      here is bug project
      https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000

      with 2 cases

      "NO LEAK"
      https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000/src/main/java/com/carrotgarden/bug/case_1_no_leak

      "LEAK"
      https://github.com/carrot-garden/carrot-bugger/tree/master/carrot-bug-pivot-memory-leak-000/src/main/java/com/carrotgarden/bug/case_2_leak

      basically, if window uses activity indicator it is placed in timer queue and never removed on window.close();

      workaround: you must stop activity indicator manually via "on close" event listener;

      Attachments

        Activity

          People

            rwhitcomb Roger Lee Whitcomb
            andrei.pozolotin Andrei Pozolotin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: