Posts: 50
Threads: 0
Joined: Feb 2014
Reputation:
0
If a timer is not repeating you don't need to destroy it, it will automatically be disposed when it ends.
Posts: 1,398
Threads: 25
Joined: Jan 2014
Reputation:
0
As u see last parameter of settimer is false that means timer will stop after specified time in ur case 1sec, if last parameter is true then timer go on forever until it is killed manually
Posts: 618
Threads: 31
Joined: Feb 2011
Reputation:
0
Okay thanks i needed to be sure. couldnt find it on the wiki on timers that are set to false.
Posts: 3,085
Threads: 37
Joined: Nov 2012
Reputation:
0
There are still times when non-repeating timers need to be killed too... especially for timers that have a long duration time, depending on their use.
From what it looks like, I don't think you will need to be killing a 1 second timer for any reason.