Reputation: 29
Hello how to stop all the timers that are already launched?
I do not know how to do that so it would be nice if you could help me
Thank you in advance
Upvotes: 0
Views: 295
Reputation: 28994
Every time you create a timer you store its unique identifier in a list.
Then you iterate over the list and call timer.stop for every identifier.
Upvotes: 0