Destroy a connection, removing references to it.
Namespace: org.opendof.core.oalAssembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Destroy a connection, removing references to it. The connection should not be used
at all after destroy is called. Note that DOFConnections may refer
to shared connection structures, and in this case those other connections may not be
affected. However, if this DOFConnection is currently open and is the only reason
that the shared connection is open then it may actually close the connection.
If the application will be manually destroying connections, DOF.beginDestroy can be
called to notify other nodes that this DOF is going away prior to destroying the
connections and then finally destroying the DOF. Any attempt to use a destroyed DOFConnection
will result in undefined behavior.
Reference