destroy/1
destroy(
+Obj)
Dispose of Obj.
First send a destroy
message to Obj, if such a message is defined for
its class. A destroy
message takes no argument. Unlike create/2
, it
is possible to destroy instances of a class even if it defines no
destroy
methods.
instantiation_error
type_error
create/2