• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

DestroyTimer

Status
Not open for further replies.
There are way too many problems with all the timer recycle systems for huge projects. But at the question at hand, do I really need to Pause non looping timers? (Was it proven there is an issue?)
 
Do I need to use PauseTimer on non looping timers before destroying them?
No if you are certain the timer is paused/expired at the time of destruction. Otherwise yes you will need to pause it as destroying a timer does not stop its currently scheduled expiration from occurring but pausing it does.
Timers have way too many weird interactions. For maximum safety, your best bet is to use a timer recycler instead of destroying them.
As far as I am aware this was disproved. As long as one remembers to pause any active timer before destroying it then there should be no need for a timer recycling system.
 
Status
Not open for further replies.
Back
Top