Hi…
I have memory leaks in my game. I almost checked everything except timers.
I’am using director Class
Please if someone can tell me how I should clean timers.
In code examples I saw :
local TheTimer = timer.performWithDelay…
or
timer.performWithDelay…
Some of this timers are cleaned on the end :
if TheTimer then timer.cancel( TheTimer ); end
if continueTimer then timer.cancel( continueTimer ); end
some are not. I’am so confused… [import]uid: 13156 topic_id: 8579 reply_id: 308579[/import]