Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Check for View leaks #2675

Closed
Closed

Description

@ljbade

Was catching up on the Android performance videos.

This one is on leaking Views: https://www.youtube.com/watch?v=BkbHeFHn8JY

I think we hold referenced to MapView in NativeMapView, and possibly inside the JNI.

We should change these to weak references.

Activity

  1. added
    Android
    on Oct 20, 2015
  2. added this to the android-v2.2.0 milestone on Oct 20, 2015
  3. tobrun commented on Oct 20, 2015

    @tobrun
    Member

    Yep, good catch.

    An example of a weak reference can be found in CompassClickListener

  4. ljbade commented on Oct 20, 2015

    @ljbade
    ContributorAuthor

    Found one leak in the code I was using to test Choreographer.

    Something else is leaking too.

  5. added a commit that references this issue on Oct 20, 2015
    97d193b
  6. self-assigned this
    on Oct 20, 2015
  7. added 5 commits that reference this issue on Oct 20, 2015
    bc85f93
    8b79a8d
  8. added a commit that references this issue on Nov 6, 2015
    f64079a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Android

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions