• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Quick question related memory leaks

Status
Not open for further replies.
Level 8
Joined
Jun 20, 2004
Messages
229
items and doodads have no group variables, so no leaks. i am pretty sure using playable map area is not a leak because you are not directly creating it as it already exists. when doing something like, create a unit at position of unit, it will leak because it is creating the location that originally does not exist but playable map area is already defined and is just being referenced. i could be wrong but I am pretty sure this is correct.
 
Level 6
Joined
Jan 27, 2007
Messages
208
items and doodads have no group variables, so no leaks. i am pretty sure using playable map area is not a leak because you are not directly creating it as it already exists. when doing something like, create a unit at position of unit, it will leak because it is creating the location that originally does not exist but playable map area is already defined and is just being referenced. i could be wrong but I am pretty sure this is correct.

thanks
 
Level 11
Joined
Nov 15, 2007
Messages
800
Pre-set regions don't leak, and playable map area is the only pre-set region that you don't have to create manually.
 
Status
Not open for further replies.
Top