[core] Render::clearData clears fonts

This commit is contained in:
Mikhail Pozdnyakov
2020-03-19 22:14:12 +02:00
parent cb1d5053b0
commit 8bf841a951
3 changed files with 26 additions and 23 deletions

View File

@@ -709,6 +709,7 @@ void RenderOrchestrator::clearData() {
if (!patternAtlas->isEmpty()) patternAtlas = std::make_unique<PatternAtlas>();
imageManager->clear();
glyphManager->evict(fontStacks(*layerImpls));
}
void RenderOrchestrator::onGlyphsError(const FontStack& fontStack, const GlyphRange& glyphRange, std::exception_ptr error) {