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.

MGLMapView leaks in v3.0.0 of the iOS SDK #3204

Closed

Description

@vyshane

I've created a minimal iOS project to observe the leak. The app uses a navigation controller to navigate between two view controllers. The root view controller has a button to push a view controller that contains an MGLMapView onto the navigation stack.

To observe the leak:

  1. Clone the project: git clone https://github.com/vyshane/mapbox-leak.git
  2. Edit MapboxLeak/Info.plist and update the value for the MGLMapboxAccessToken key with your Mapbox API token.
  3. Run pod install in the project root directory.
  4. Open the MapboxLeak.xcworkspace workspace in Xcode.
  5. Press ⌘i to start profiling.
  6. Once the app is running, tap on the Show Map button, then tap on Back.
  7. Do this a few times and observe that the number of MBLMapView instances keeps growing.

Activity

  1. added
    iOS
    performance
    on Dec 7, 2015
  2. syedhali commented on Dec 7, 2015

    @syedhali

    This is the same as #3130

  3. jfirebaugh commented on Dec 14, 2015

    @jfirebaugh
    Contributor

    Closing as duplicate of #3130.

  4. syedhali commented on Jan 8, 2016

    @syedhali

    If this was fixed by #3448, any idea when the iOS cocoapod will be updated? We'd really love to update to v3.0

  5. friedbunny commented on Jan 9, 2016

    @friedbunny
    Contributor

    We're nearing the homestretch on an iOS release, hopefully in the next couple weeks.

    (@vyshane Thanks for the demo project, btw.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    iOSperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions