usb-serial-for-android icon indicating copy to clipboard operation
usb-serial-for-android copied to clipboard

Export app crash restart

Open 0cococ opened this issue 8 months ago • 16 comments

How can I stop communicating with the device? I try to change the device status or unplug the device, which causes the app to crash and restart. I try to close it with mSerialIoManager.stop() port.close() connection.close(), but it still crashes. Is there any way to close the device connection as long as the device status changes or is unplugged? I don't want the app to crash and restart. image

0cococ avatar Jun 04 '24 08:06 0cococ