Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do I have to manually clear used timers? #121

Closed
phansonloc1999 opened this issue Jul 6, 2020 · 1 comment
Closed

Do I have to manually clear used timers? #121

phansonloc1999 opened this issue Jul 6, 2020 · 1 comment

Comments

@phansonloc1999
Copy link

phansonloc1999 commented Jul 6, 2020

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

@HDictus
Copy link

HDictus commented Jul 6, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants