• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[JASS] Memory leaks in unit arrays

Status
Not open for further replies.
Level 7
Joined
May 6, 2005
Messages
390
If you want to remove leaks by removing the units, use a loop. If you want to destroy it if it's a local unit array, use a loop too.
 
Level 7
Joined
May 6, 2005
Messages
390
Sorry but as I can't see the script I can't help you. I suggest you to use the handle vars, get them from The JASS Vault. Ask questions about them there aswell, I can't help you the next two weeks, as I'm going on holiday :D .
 
Status
Not open for further replies.
Top