Method AutomationObject():release() Foundation
Decrements the reference count.
:release() --> nReference
The new reference count.
Each COM/ActiveX component knows inherently how often it has been referenced to. As long as its internal reference count has not reached zero, a COM/ActiveX object cannot be freed by its COM server. Thus, every call to :addRef() must have a corresponding call to :release().
:release() is called automatically when method :destroy() is called. Normally, applications need not call :release() directly. See :destroy() for further information.
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.