pybricksdev icon indicating copy to clipboard operation
pybricksdev copied to clipboard

USB support should better handle the cable being disconnected

Open nkarstens opened this issue 2 years ago • 0 comments

See FIXME in disconnect method in _USBTransport class in pybricksdev/connections/pybricks.py from #69.

Support for this in PyUSB is currently waiting approval in pyusb/pyusb#160.

This comment contains a monkey patch that we may be able to use until the PR is approved.

nkarstens avatar Jan 11 '24 04:01 nkarstens