- Joined
- Oct 11, 2012
- Messages
- 711
JASS:
function test takes nothing returns nothing
......
call PauseTimer(LoadTimerHandle(hash,0,0))
call DestroyTimer(LoadTimerHandle(hash,0,0))
.......
endfunction
// Does the above code leak? or do I have to do the following?
function test takes nothing returns nothing
local timer t = LoadTimerHandle(hash,0,0)
......
call PauseTimer(t)
call DestroyTimer(t)
.......
set t = null
endfunction