Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-26239

Android: Window leak in Ti.UI.currentWindow

    Details

    • Story Points:
      3
    • Sprint:
      2016 Sprint 17 SDK, 2018 Sprint 18 SDK, 2018 Sprint 19 SDK, 2018 Sprint 20 SDK, 2018 Sprint 21, 2018 Sprint 22, 2018 Sprint 23, 2018 Sprint 24

      Description

      Steps to reproduce:
      1. Create application, put attached files in Resources
      2. Run ti build with --debug-host localhost:8990
      3. Open chrome-devtools:// link in Chrome
      4. Resume script execution, wait for app load
      5. In memory tab, press "Take snapshot"
      6. In app press "OPEN 2ND WINDOW"
      7. In memory tab, press "Take snapshot"
      8. In app press "OPEN 3RD WINDOW"
      9. In memory tab, press "Take snapshot"
      10. In app press back button
      11. In memory tab, press "Take snapshot"
      12. In app press back button
      13. In memory tab, press "Take snapshot"

      Now you got five snapshots.
      1. Select "Snapshot 2"
      2. Change "Summary" to "Comparison", put "Window" in "Class filter"
      3. Expand "Window", observe one new "Window" instance, remember @id
      4. Select "Snapshot 5", put "Window" in "Class filter"
      5. Expand "Window", observe three instance of "Window"
      6. Select "Window" instance with @id from (3)
      7. Observe "Retainers" below

        Attachments

        1. 0001-Android-fix-Ti.UI.currentWindow-leak.patch
          4 kB
        2. app.js
          0.3 kB
        3. win2.js
          0.3 kB
        4. win3.js
          0.3 kB

          Issue Links

            Activity

              People

              • Assignee:
                gmathews Gary Mathews
                Reporter:
                s.volkov Sergey Volkov
                Reviewer:
                Gary Mathews
                Tester:
                Keerthi Mahalingam
              • Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-6482
                    Sync status:
                    PENDING
                    Last received:
                    Last sent:

                    Git Source Code