Hello everyone
I’m working on a game using the composer and control constantly the memory. Everything was fine but now I have found a memory leak when I do something like:
function scene:create( event ) local sceneGroup = self.view local redBall = { type = "image", filename = "redBall.png"} local ball = display.newRect( sceneGroup, 160, 250, 100, 100 ) ball.fill = redBall end
It seems that when it changes the scene this does not completely remove display objects filled with “.fill”
I do not know if I’m doing something wrong or if it’s some bug.
I know that the memory management is difficult but before everything was perfect not now. I made many tests even after a long time but nothing
I hope for help as soon as possible thanks