• 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 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,258
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