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

MGLOpenGLStyleLayer leaks when not added to a map #10771

Closed
asheemmamoowala opened this issue Dec 21, 2017 · 1 comment
Closed

MGLOpenGLStyleLayer leaks when not added to a map #10771

asheemmamoowala opened this issue Dec 21, 2017 · 1 comment
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS

Comments

@asheemmamoowala
Copy link
Contributor

Carried forward from: #10765 (comment)

An MGLOpenGLStyleLayer is retained by core when created. This should only be done when the layer is added to a map.

@asheemmamoowala asheemmamoowala added Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Dec 21, 2017
@1ec5 1ec5 added the bug label Dec 21, 2017
akitchen pushed a commit that referenced this issue Feb 23, 2018
Unfortunately a brief spin of the run loop is required for the layer reuse test. I've tried to tune this down for my machine; YMMV
asheemmamoowala pushed a commit that referenced this issue Mar 30, 2018
Unfortunately a brief spin of the run loop is required for the layer reuse test. I've tried to tune this down for my machine; YMMV
@asheemmamoowala
Copy link
Contributor Author

Fixed in #11553

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Core The cross-platform C++ core, aka mbgl iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

No branches or pull requests

2 participants