Method XbpPartHandler():destroy() Foundation

Releases system resources.

:destroy() --> self

This method returns the object executing the method.


The method :destroy() is part of the life cycle of Xbase Parts and releases system resources requested using the method :create(). After the :destroy() method has been called, the Xbase Part is unable to operate. However the object remains in existence and can later request system resources again using:create().

When an Xbase Part has children, this method implicitly calls the :destroy() method for all the Xbase Parts that are contained in :childList().


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.