Merge pull request #15445 from poke1024/fix15392
Fix stale dynamic font reference fetch from cache
This commit is contained in:
commit
1b098e6466
|
@ -651,8 +651,8 @@ DynamicFontAtSize::~DynamicFontAtSize() {
|
|||
|
||||
if (valid) {
|
||||
FT_Done_FreeType(library);
|
||||
font->size_cache.erase(id);
|
||||
}
|
||||
font->size_cache.erase(id);
|
||||
}
|
||||
|
||||
/////////////////////////
|
||||
|
|
Loading…
Reference in New Issue