You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix StringName leaks in GDExtension, core, and editor themes
This commit is contained in:
@@ -6951,6 +6951,7 @@ EditorNode::EditorNode() {
|
||||
|
||||
// Exporters might need the theme.
|
||||
EditorColorMap::create();
|
||||
EditorTheme::initialize();
|
||||
theme = create_custom_theme();
|
||||
DisplayServer::set_early_window_clear_color_override(true, theme->get_color(SNAME("background"), EditorStringName(Editor)));
|
||||
|
||||
@@ -8038,6 +8039,8 @@ EditorNode::~EditorNode() {
|
||||
memdelete(progress_hb);
|
||||
|
||||
EditorSettings::destroy();
|
||||
EditorColorMap::finish();
|
||||
EditorTheme::finalize();
|
||||
|
||||
GDExtensionEditorPlugins::editor_node_add_plugin = nullptr;
|
||||
GDExtensionEditorPlugins::editor_node_remove_plugin = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user