• 🏆 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!

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