• 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.

will this leak?

Status
Not open for further replies.
Level 5
Joined
Nov 25, 2004
Messages
65
  • Untitled Trigger 002
    • Events
    • Conditions
    • Actions
      • Hashtable - Save Handle Of(Last created unit) as (Key one) of (Key two) in MyHash
      • Hashtable - Clear all child hashtables of child (Key two) in MyHash
does unit handles causes leak?
 
Level 5
Joined
Nov 25, 2004
Messages
65
since i am not familiar with jass, so what am i supposed to do to to clear the handle?
 
Level 5
Joined
Nov 25, 2004
Messages
65
What? o_O

You ain't using Jass.

so does it mean when i save a unit handle and any other type of handle using hashtable, and then using the function 'Clear all child hashtables of child' to clear hashtables, this will completely not cause any leak?
 
Level 12
Joined
Jan 30, 2009
Messages
1,067
I don't think hashtables leak, I am not certain, though. Things I know that leak are groups, locations, sounds, special effects, forces. In GUI anyway
 
Status
Not open for further replies.
Top