Major memory leak with removeSprites(array) and sprite.removeAll()

Thanks for the report!

It looks like we weren't releasing our internal reference to sprites when using removeAll() or removeSprites().

I have a fix in, and it should be in our next release.

Until then, hopefully the workaround mentioned in the linked thread can tide you over:

for k, v in pairs(testSprites) do
    v:remove()
end
5 Likes