Skip to content

USB support should better handle the cable being disconnected #70

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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