Method ActiveXObject():destroy() Foundation
Disconnects from a COM/ActiveX component.
:destroy() --> self
This method returns the object executing the method (self).
The method :destroy() disconnects the ActiveXObject from the COM/ActiveX component. The connection between an ActiveXObject instance and a COM/ActiveX component is established by calling the method :create().
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.