Home > dev > api > cat > special > _exit 
 fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
_exit
GB_STATIC_METHOD ( "_exit" , NULL , MyClass_exit , NULL )

The _exit method is called when the class is unloaded by the interpreter.

It takes no argument, and returns nothing.

You can use this method to do class specific cleanups. Logically, you should do the contrary of what you did in the _init special method implementation :-)

See also

Special Methods, Methods Implementation