Avoid crashes when engine leaks canvas items and friends

(cherry picked from commit 34ecfff672)
This commit is contained in:
Yuri Sizov 2023-12-20 13:19:46 +01:00
parent ba23081eb7
commit 36f34c8f86
5 changed files with 33 additions and 4 deletions

View file

@ -214,6 +214,7 @@ void RenderingServerDefault::_finish() {
free(test_cube);
}
RSG::canvas->finalize();
RSG::rasterizer->finalize();
}