Skip to content

USB support should better handle the cable being disconnected #70

Open
@nkarstens

Description

@nkarstens

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions