Currently it is possible to connect multiple times to different devices. This should not be possible cause connections are related to Streams that are not intended to be reopened.
So make sure that after a close the connect method will throw an exception. When calling the close method don't set the streams to null.
Currently it is possible to connect multiple times to different devices. This should not be possible cause connections are related to Streams that are not intended to be reopened. So make sure that after a close the connect method will throw an exception. When calling the close method don't set the streams to null.
This issue is related to https://github.com/itm/testbed-runtime/issues/67#issuecomment-1572086