I'd imagine that the local variable is simply nulled at the end of the block it is declared. Which is not perfect, but probably pretty good all things considered.
So I do not have to null local units then? I am pretty sure that is standard practice in JASS so it is either that or wurst somehow sorts that out in the background.
So I do not have to null local units then? I am pretty sure that is standard practice in JASS so it is either that or wurst somehow sorts that out in the background.
Wurst manual doesn't talk about leaks cause the only leaks you should care about are those that are caused by your programming, and not by jass' faulty design.
You have to destroy LinkedLists too, and HashMaps, etc. They are all objects added to their stacks.