Merge pull request #44899 from qarmin/remove_memory_leak_canvas_group
Remove memory leak in Canvas Group
This commit is contained in:
commit
ec99c8159d
1 changed files with 1 additions and 0 deletions
|
@ -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