Arbortext Command Language > Callbacks > doc_add_callback > destroy Callback Type
  
destroy Callback Type
Function prototype:
function funcname (doc)
destroy is called whenever a document is unloaded from memory.
Argument
doc is the identifier of the document being destroyed.