Self destruction is a procedure or algorithm that is programmed to destroy the caller object, or the invoker file or pointer.
Self destruction is a procedure or algorithm that is programmed to destroy the caller object, or the invoker file or pointer. Self destruction is often used when an object, a file or a pointer must be used only once - then it triggers the self destruction procedure right after being invoked, referenced or called.