mirror of
https://github.com/godotengine/godot
synced 2024-09-05 13:48:32 +00:00
Remove memory leak in Canvas Group
This commit is contained in:
parent
950dedbb68
commit
b0f28d2259
|
@ -84,4 +84,5 @@ CanvasGroup::CanvasGroup() {
|
|||
set_fit_margin(10.0); //sets things
|
||||
}
|
||||
CanvasGroup::~CanvasGroup() {
|
||||
RS::get_singleton()->canvas_item_set_canvas_group_mode(get_canvas_item(), RS::CANVAS_GROUP_MODE_DISABLED);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue