Fix stale dynamic font reference fetch from cache
Seems to fix issue 15392
This commit is contained in:
parent
29e68aa40e
commit
526e637a97
1 changed files with 1 additions and 1 deletions
|
@ -651,8 +651,8 @@ DynamicFontAtSize::~DynamicFontAtSize() {
|
||||||
|
|
||||||
if (valid) {
|
if (valid) {
|
||||||
FT_Done_FreeType(library);
|
FT_Done_FreeType(library);
|
||||||
font->size_cache.erase(id);
|
|
||||||
}
|
}
|
||||||
|
font->size_cache.erase(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
|
|
Loading…
Reference in a new issue