Closed daescalona closed 4 years ago
If there was a protocol missmatch when opening the XBee object connection, an exception was thrown but port remained open. This commit fixes this scenario and closes the connection before throwing the exception.
Signed-off-by: David Escalona david.escalona@digi.com
If there was a protocol missmatch when opening the XBee object connection, an exception was thrown but port remained open. This commit fixes this scenario and closes the connection before throwing the exception.
Signed-off-by: David Escalona david.escalona@digi.com