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

iOS: Proxy objects created in timers aren't released properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 7.4.2
    • Fix Version/s: Release 8.0.0, Release 7.5.1
    • Component/s: None
    • Labels:
    • Environment:

      Tried Titanium SDK 7.3.0.GA, 7.4.0.GA, 7.5.0.GA
      iOS 9.3.5, 10.3.3, 12 (real devices and simulators)

    • Story Points:
      3
    • Sprint:
      2019 Sprint 2

      Description

      Simplest case (iOS): Create an extremely simple app which just opens a controller containing a ListView with a headerView and a View inside that, and then close that controller again after a couple of seconds - the View inside the HeaderView is not destroyed / memory is not released, so the View remains, its proxy remains, the header proxy remains, the list proxy remains and the window proxy remains in memory... every time you reopen the controller the allocations grow until eventually the app freezes and refuses to respond.

      [Sample app attached - 'assets' folder is empty, as they're just the standard assets in any new project created via studio and take up over 13Mb so won't fit on the ticket!]

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              john.staunton John Staunton
              Reviewer:
              Christopher Williams
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code