Merge pull request #15445 from poke1024/fix15392

Fix stale dynamic font reference fetch from cache
This commit is contained in:
Rémi Verschelde 2018-01-07 17:05:16 +01:00 committed by GitHub
commit 1b098e6466
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -651,8 +651,8 @@ DynamicFontAtSize::~DynamicFontAtSize() {
if (valid) {
FT_Done_FreeType(library);
font->size_cache.erase(id);
}
font->size_cache.erase(id);
}
/////////////////////////