Cleaning up the DOFConnectionReconnectingListener

The DOFConnectionReconnectingListener creates resources independent from the DOF that must be cleaned up when no longer needed; this is done by calling the cancel method.

How It Works

Most components in the OpenDOF library are automatically destroyed and cleaned up when the DOF is destroyed; however, the DOFConnectionReconnectingListener is not automatically cleaned up.