You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running on a Debian Bullseye container. The container has access to a rfcomm device on the host and I'm using a listener to detect if the connection is closed to try and reconnect the device. This works well up to a point when the program gets several disconnection events in a row and then freezes while trying to reconnect.
The reconnection mechanism just calls closePort waits a few seconds and tries to call openPort again
Running jconsole remotely shows that there's a live thread running waitForEvent so I assume the listener it's still registered in the SerialPort instance.
The text was updated successfully, but these errors were encountered:
I'm running on a Debian Bullseye container. The container has access to a
rfcomm
device on the host and I'm using a listener to detect if the connection is closed to try and reconnect the device. This works well up to a point when the program gets several disconnection events in a row and then freezes while trying to reconnect.The reconnection mechanism just calls
closePort
waits a few seconds and tries to callopenPort
againRunning
jconsole
remotely shows that there's a live thread runningwaitForEvent
so I assume the listener it's still registered in theSerialPort
instance.The text was updated successfully, but these errors were encountered: