flutter_libserialport icon indicating copy to clipboard operation
flutter_libserialport copied to clipboard

SerialPortReader: when is OnDone called?

Open LiveRock opened this issue 4 years ago • 2 comments

SerialPortReader: when is OnDone called?

When I am done with reading in OnData, I tried to call reader.close(); but it crash the app. When is OnDone called?

LiveRock avatar Jun 16 '21 08:06 LiveRock

The onDone is called when you call the serialPort close() method

trajamohan avatar Aug 20 '22 01:08 trajamohan

Could you provide more information to reproduce the crash?

lucafabbri avatar Feb 21 '24 12:02 lucafabbri