You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix leak when closing theme editor preview tabs
This commit is contained in:
@@ -3583,6 +3583,8 @@ void ThemeEditor::_remove_preview_tab(int p_tab) {
|
||||
}
|
||||
|
||||
preview_tabs_content->remove_child(preview_tab);
|
||||
preview_tab->queue_free();
|
||||
|
||||
preview_tabs->remove_tab(p_tab);
|
||||
_change_preview_tab(preview_tabs->get_current_tab());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user