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

MobileWeb: View children not properly being destroyed

    Details

      Description

      When a view is destroyed, it loops through its children, destroys them, then sets the child to null. The problem is it needs to splice() out the child instead of setting it to null otherwise you'll have conflicts where a nested destroy() will try to process the array of children where children are null. Simply removing the children from the array fixes it.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration