mapbox / mapbox/mapbox-navigation-ios

[Bug]: Memory leaks while quickly switching between overview and following camera modes.

Open
#3,535 0 comments 0 reactions 1 assignee View on GitHub

@MaximAlien is already working on this.

Since Oct 29, 2021.

bug jira-sync-complete UI
Dominant language
Swift
Stars
918
Forks
326
Avg merge
1h 16m
Merged PRs (30d)
3

Description

Mapbox Navigation SDK version

v2.0.0

Steps to reproduce
  1. Start memory leaks profiler.
  2. Start active guidance navigation on iOS Simulator.
  3. Repeatedly switch between overview and following camera modes.
  4. Observe memory leaks related to OS_dispatch_group in profiler.
Expected behavior

Memory leaks should not occur.

Actual behavior

Memory leaks occur. For example:

Screen Shot 2021-10-29 at 11 56 16 AM
Is this a one-time issue or a repeatable issue?

repeatable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.