You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
-[MGLStyle removeLayer:] relies on undefined behavior #7211
Per #6097 (comment), the -removeFromMapView: method in each of the concrete MGLStyleLayer subclasses relies on undefined behavior by reinterpret_casting a unique_ptr to the mbgl::style::Layer. This code was added to the iOS and macOS SDKs in #7048. The Android SDK is doing something a bit different in #7039: move-ing a unique_ptr but not reinterpret_casting it.
Activity
boundsj commentedon Nov 30, 2016
This was fixed by #7227