diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2020-04-10 15:39:31 +0200 |
---|---|---|
committer | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2020-04-10 16:55:17 +0200 |
commit | f79334c12440f5a8a52bcbe4e5978a4f13381aec (patch) | |
tree | 5fc84d86fd9ed1c3ab474a57f3344b0785e2cb07 /CHANGELOG.md | |
parent | be9ca95e9ab3be296177bf6ec0f1b05f7ade8749 (diff) | |
download | qtlocation-mapboxgl-f79334c12440f5a8a52bcbe4e5978a4f13381aec.tar.gz |
when removing an image use the correct list ptr for presence verification
This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ceec9882f..5b333d4b00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,8 @@ The `symbolIntersectsTileEdges()` util in `mbgl::TilePlacement` now considers icon shift for the variable symbols with enabled icon-text-fit setting, thus providing more accurate results. +- [core] Correctly log a warning instead of crashing when a non-existent image is attempted to be removed. ([#16391](https://github.com/mapbox/mapbox-gl-native/pull/16391)) + ## maps-v1.5.1 ### 🐞 Bug fixes |