-
Notifications
You must be signed in to change notification settings - Fork 177
Description
I wrote a simple page with only one mapbox in it. When I repeatedly opened and closed the page, I manually GCed it and found that there were several MapBox instances in memory. Repeat until the app crashes.

I saw that version 0.4.3 fixed the memory leak problem, but I found that there is no memory leak on Android, and there is still a memory leak problem on iOS. The same goes for version 0.4.4.
test on iPhone 12 pro max, iOS 16.5, Samsung S20 Android13
flutter doctor
[✓] Flutter (Channel stable, 3.7.12, on macOS 13.3 22E252 darwin-arm64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.2)
[✓] Connected device (3 available)
[✓] HTTP Host Availability
• No issues found!
