Frees resources allocated during the creation of a DOF.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Frees resources allocated during the creation of a DOF. This call should be made for each created DOF as soon as
it is no longer required--usually during program termination. When you call this method, threads that were started
during the creation of the DOF are stopped, other nodes are notified that this DOF is being destroyed, all components
created by this DOF are destroyed, and then the DOF itself is destroyed.
The DOF.destroy method encompasses the functionality of all the following in a single method call:
The DOF.destroy method runs asynchronously. There is no guarantee that the DOF has finished being destroyed when
this method returns. Any attempt to use a destroyed DOF will result in undefined behavior.
Reference