I need some unit group variables to exist all the time and i dont want to destroy them,
but will add/remove units to the group overwrite the variable and cause memory leak?
Be aware that a reference to dead and even fully decayed units will remain in your unit groups after they get removed from the map if you don't explicitly remove those units from the group first (when the die, for example). This is a type of memory leak and is discussed in more detail here: [code=jass] - Trouble with groups
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.