diff options
Diffstat (limited to 'src/mbgl/text/glyph_store.cpp')
-rw-r--r-- | src/mbgl/text/glyph_store.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph_store.cpp b/src/mbgl/text/glyph_store.cpp index 8531912185..10723af1a7 100644 --- a/src/mbgl/text/glyph_store.cpp +++ b/src/mbgl/text/glyph_store.cpp @@ -167,7 +167,6 @@ GlyphPBF::GlyphPBF(const std::string& glyphURL, // parse the data we received. We are not doing this here since this callback is being // called from another (unknown) thread. data = res.data; - parsed = true; callback(this); } }); @@ -231,6 +230,8 @@ void GlyphPBF::parse(FontStack &stack) { } data.clear(); + + parsed = true; } bool GlyphPBF::isParsed() const { |