spriteInstance:removeSelf() leaks? [Solved]

Hello, i am not really sure about this. If anyone can confirm this please let me know. Or if i am doing it wrongly.

I removed my spriteInstance manually after creating them by using “spriteInstance:removeSelf()”. The sprite disappears from screen, but texture memory is not deducted.
EDIT: My bad, i totally forgot about spriteSheet:dispose(). Sorry!

[import]uid: 74723 topic_id: 13770 reply_id: 313770[/import]

Heh, I often forget to do that myself :wink:

Well done on figuring it out and thanks for changing the thread to add [Solved] - I like it when people do that!

Peach :slight_smile: [import]uid: 52491 topic_id: 13770 reply_id: 50568[/import]