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

Will this trigger leak?

Status
Not open for further replies.
Level 8
Joined
Aug 19, 2007
Messages
294
A fast question...Will this trigger leak?
  • Hero Die
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Triggering unit) is A Hero) Equal to True
    • Actions
      • Set PlayerGroup = (Player group((Owner of (Triggering unit))))
      • Game - Display to PlayerGroup the text: Your Hero will be r...
      • Custom script: call DestroyForce(udg_PlayerGroup)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
Leaks a string object. Unavoidable as blizzard did not provide users with an interface to remove string objects.
There is some kind of garbage collector for string objects however. But that is not 100% reliable. String leaks are minor thou so do not worry as they are only a problem if you generate 100s of unique strings a second.

Could also be eithor one of the BJs used leaks or else a software bug with the checker.
 
Status
Not open for further replies.
Top