I know in JASS that you must set local handle variables to null or they will leak. It ends up looking like this:
However, in a first of group loop, the unit variable you use eventually gets set to null, anyway, right? Do I need to do a
JASS:
function doStuff takes nothing returns nothing
local unit u = GetTriggerUnit()
set u = null
endfunction
However, in a first of group loop, the unit variable you use eventually gets set to null, anyway, right? Do I need to do a
set u = null
after the loop or is it good to go? I'm inclined to believe I am good to go, but you never know with JASS lol.[/icode]