vrld / hump

LÖVE Helper Utilities for Massive Progression
http://hump.readthedocs.org
1.09k stars 154 forks source link

Do I have to manually clear used timers? #121

Closed phansonloc1999 closed 3 years ago

phansonloc1999 commented 4 years ago

If i do not perform Timer.clear(), will timers be piling up and take up memory?

HDictus commented 4 years ago

looking at the code, timers are dereferenced when they finish. unless you reference them elsewhere for some reason, they should be garbage collected automatically.