- Method destruct
Mark an object as destructed.
o->destroy(), and then clears all variables in the object. If no argument is given, the current object is destructed.
All pointers and function pointers to this object will become zero. The destructed object will be freed from memory as soon as possible.