Checking leaks in JASS?

Romek

Super Moderator
Reaction score
963
Not all types of locals need to be nulled.
Most do. Locals that extend handle (In other words, anything that isn't boolean, real, integer or code)
And you should destroy most handles as well as null them.
Only handles which are still used outside the function shouldn't be destroyed. Such as players, or units.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top