Method DllCallback():destroy() Foundation
Releases resources of the callback object.
:destroy() --> self
This method returns the object executing the method (self).
The method :destroy() is part of the life cycle of a callback object and releases resources requested in the :create() method.
For synchronous callbacks, the :destroy() is called automatically before DLLExecuteCall() returns. For asynchronous callbacks, however, resources must be freed explicitly by the application. To this, the callback must be destroyed explicitly via a call to :destroy() when it is no longer needed.
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.