I noticed that everytime we instance a new map, overwriting the old one, the Canvas objects are not released, maybe a LuaJIT related issue, so they are stuck there in memory.
Best solution for this would be adding a :canvasRelease() function, maybe, so we can force the release of the old stucked objects and free memory.
I noticed that everytime we instance a new map, overwriting the old one, the
Canvasobjects are not released, maybe a LuaJIT related issue, so they are stuck there in memory.Best solution for this would be adding a
:canvasRelease()function, maybe, so we can force the release of the old stucked objects and free memory.