mirror of
https://github.com/lihop/godot-xterm.git
synced 2024-11-10 04:40:25 +01:00
Free fore_canvas_item
Frees fore_canvas_item in cleanup, preventing RID allocation leak.
This commit is contained in:
parent
db3564f0cc
commit
2b5ea392bf
1 changed files with 1 additions and 0 deletions
|
@ -546,6 +546,7 @@ void Terminal::cleanup_rendering() {
|
||||||
rs->free_rid(back_canvas_item);
|
rs->free_rid(back_canvas_item);
|
||||||
|
|
||||||
// Foreground.
|
// Foreground.
|
||||||
|
rs->free_rid(fore_canvas_item);
|
||||||
rs->free_rid(viewport);
|
rs->free_rid(viewport);
|
||||||
rs->free_rid(canvas);
|
rs->free_rid(canvas);
|
||||||
rs->free_rid(char_canvas_item);
|
rs->free_rid(char_canvas_item);
|
||||||
|
|
Loading…
Reference in a new issue