diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-04-15 22:21:04 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2015-04-15 22:21:04 -0700 |
commit | c49e6157f1d90c00292643914b2f76ebeb02bf4c (patch) | |
tree | ef7ec796329d446df5c74851130bb9b8473ad0bb /src/mbgl/map/live_tile_data.cpp | |
parent | d29534e43750793046c82db9e429882e13bd36f5 (diff) | |
download | qtlocation-mapboxgl-c49e6157f1d90c00292643914b2f76ebeb02bf4c.tar.gz |
add comment
Diffstat (limited to 'src/mbgl/map/live_tile_data.cpp')
-rw-r--r-- | src/mbgl/map/live_tile_data.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/map/live_tile_data.cpp b/src/mbgl/map/live_tile_data.cpp index 8e241f9813..8b4f46deb5 100644 --- a/src/mbgl/map/live_tile_data.cpp +++ b/src/mbgl/map/live_tile_data.cpp @@ -54,7 +54,9 @@ void LiveTileData::parse() { return; } } else { + // Clear the style so that we don't have a cycle in the shared_ptr references. style.reset(); + state = State::obsolete; } |