• 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.

[General] Can access Timer Handle Id after Destroy Timer?

Status
Not open for further replies.
Hi folks,
I'm confused that the following code does print the same number twice on screen:

local timer testTimer = CreateTimer() call BJDebugMsg(I2S(GetHandleId(testTimer))) call DestroyTimer(testTimer) call BJDebugMsg(I2S(GetHandleId(testTimer)))

Shouldn't the second print show 0 or nothing, because the timer doesn't exist anymore?

Best regards,
Eikonium
 
Status
Not open for further replies.
Top