Hey Hans
On Wed, 2012-03-07 at 00:03 -0500, Hans-Christoph Steiner wrote:
I just committed a fix for the race condition that happens when a serial port gets disconnected on GNU/Linux and Mac OS X. Please test heavily on those platforms, including yanking out the USB plug and going out of range with a bluetooth. It should just cleanly close the serial port now.
That's good news! Thanks a lot for this fix.
It seems to work well here. Also, it reports closed connection, if you unplug the cable, which is good. This way you can write your patch to deal correctly with the situation.
Roman