Code: Select all
function love.update(dt)
test = love.image.newImageData("test.jpg")
end
As far as I understand, since no reference is kept to each ImageData, they should be collected immediately. Is there a way to free memory explicitly in lua/löve?
Kinda sounds like a pretty stupid question, but I didn't find a solution to this...