[Resolved] memory issue

If I dont remove an objects event listener manually when I change scenes, will this cause a memory leak? I have spent ages trying to find a leak in my game, and cannot find it. I used profiler, and it said that all items were being deleted when I changed scenes. Any suggestions?

Also, is it possible to delete all global variables, so if I were unable to find the leak I could remove all variable during a screen change? [import]uid: 116264 topic_id: 26553 reply_id: 326553[/import]

Please see the following thread I just created (inspired by your post :slight_smile: ): http://developer.anscamobile.com/forum/2012/05/21/guide-findingsolving-memory-leaks [import]uid: 84637 topic_id: 26553 reply_id: 107893[/import]

Thanks so much! I thought I had cancelled my runtime listener, but I had not done it incorrectly. Once I changed it, it works perfectly, no leaks at all! Thanks for your time. [import]uid: 116264 topic_id: 26553 reply_id: 107920[/import]