Heya,
Just wanted to throw this out there as the doc page on the removeSelf function weren’t explicit enough for me.
Does anyone know whether event listeners on an object are removed if I call removeSelf(). I’m guessing that that wasn’t the case before build 318, but it sounds like it is the case now.
I’ve got a collection of objects I’m iterating over, calling removeSelf on each one. A couple have touch listeners on them. Do I need to call obj:removeEventListener(“touch”, func) first to avoid a memory leak? [import]uid: 11757 topic_id: 10268 reply_id: 310268[/import]