destroying a group

jig7c

Stop reading me...-statement
Reaction score
123
to destroy/clear a group?
which one is recommended?

JASS:
DestroyGroup (g)
set g = null
//are there any other functions//
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
DestroyGroup(). GroupClear() just clears the group, it doesn't fix the leak/destroy/remove the handle. It is usually not really needed since enumerations auto-clear.

However, you should actually Recycle. It is a pretty simple method anyway.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top