CStats:delete
The delete method deletes an instance of the CStats class. Call delete when you are finished using the instance of this class.
CStats:delete() |
S = CStats:new() |
-- create a new instance of of the CStats class. |
... |
-- do something with the CStats. |
S:delete() |
-- delete the object and its associated memory. |