mio-serial
mio-serial copied to clipboard
cann't open serial again
when SerialStream was dropped, the member "inner: mem::ManuallyDropserialport::COMPort" was not dropped, this will prevent to open the serial again.

in the code: examples\read_serialport.rs


Ehm.. you don't drop the SerialStream in your example. Since you name one _rx and the other rx you try to open the serial port multiple times.