Lego Cleanup

by Legobumb
Just a basic "clean up" proc to aid in things being garbage collected
ID:2581619
 
According to the DM reference, there are certain variables that count as references that would prevent an atom from otherwise being garbage collected. This tiny lib is just a Cleanup() proc that will null out those certain variables to aid in garbage collection when called. It is the user's responsibility to override and add any other variables they define in their games to the Cleanup() proc so that the garbage collector can continue to do its job.

Login to reply.