Hatebreeder
So many apples
- Reaction score
- 381
Hey there.
I have a question:
if i transfer data into 2 different timers, will one of them leak?
A demonstration of what i mean:
assuming that I return true and .destroy the data in func timer1, will timer 2 leak?
I have a question:
if i transfer data into 2 different timers, will one of them leak?
A demonstration of what i mean:
JASS:
function timer2 takes nothing returns boolean
return true
endfunction
function timer1 takes nothing returns boolean
return false
endfunction
function create takes nothing returns nothing
local blah Data = blah.create()
call TT_Start(function timer1,Data)
call TT_Start(function timer2,Data)
endfunction
assuming that I return true and .destroy the data in func timer1, will timer 2 leak?