mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix stale dynamic font reference fetch from cache
Seems to fix issue 15392
(cherry picked from commit 526e637a97
)
This commit is contained in:
parent
531fb3b8e6
commit
bc0af4a73e
1 changed files with 1 additions and 1 deletions
|
@ -614,8 +614,8 @@ DynamicFontAtSize::~DynamicFontAtSize() {
|
|||
|
||||
if (valid) {
|
||||
FT_Done_FreeType(library);
|
||||
font->size_cache.erase(id);
|
||||
}
|
||||
font->size_cache.erase(id);
|
||||
}
|
||||
|
||||
/////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue