This is probably a silly question (or maybe not). If I don’t attach a “handle” to a timer (i.e. assign it to a local variable), does it get automatically garbage-collected upon its termination?
For example:
timer.performWithDelay( 1000, restartLevel )
When it triggers after 1000 milliseconds, does the timer go bye-bye forever? Or does it linger around in memory somewhere? I understand how to force cancel a timer, if necessary… I’m just hoping that’s not necessary, and that Corona cleans up timers automatically unless they’re attached to a specific variable handle.
Brent
[import]uid: 9747 topic_id: 6325 reply_id: 306325[/import]