Deleting Lua chunks

Posts: 31
Joined: 2004.09
Post: #1
Hi all, how do I go about freeing up a chunk in Lua?

For example, say I load a script file that I use as a module..

it has a bunch of private (local) variables, init and shutdown functions, getter and setter functions, etc.

How do I free up all this once I've finished using it?

Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  deleting C++ newed memory WhatMeWorry 2 3,735 Aug 22, 2005 01:43 AM
Last Post: NCarter
  Deleting The End of A String With BM Nick 0 3,442 Jul 2, 2005 08:49 AM
Last Post: Nick