You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
[Complex Text Layouts] Fix bitmap font memory leak.
This commit is contained in:
@@ -2507,9 +2507,11 @@ void TextServerAdvanced::register_server() {
|
||||
}
|
||||
|
||||
TextServerAdvanced::TextServerAdvanced() {
|
||||
hb_bmp_create_font_funcs();
|
||||
}
|
||||
|
||||
TextServerAdvanced::~TextServerAdvanced() {
|
||||
hb_bmp_free_font_funcs();
|
||||
u_cleanup();
|
||||
#ifndef ICU_STATIC_DATA
|
||||
if (icu_data != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user