Skip to content

Conversation

@laurensvalk
Copy link
Member

Partially implements the timeout referenced below:

    // TODO: return PBIO_ERROR_INVALID_OP if app flag is not set. Also need a
    // timeout in case the app crashes and doesn't clear the flag on exit.

I am not merging this since @dlech is working on this, but just archiving the commit here.

It should work much better when subscribing with the app flag above. Then the timeout only affects one disconnect after normal use, rather than every time it is plugged in as in this commit.

@laurensvalk
Copy link
Member Author

I am not merging this since @dlech is working on this, but just archiving the commit here.

@coveralls
Copy link

Coverage Status

coverage: 57.109% (-0.02%) from 57.124%
when pulling 9007ef2 on usb-work
into dfbcfa8 on master.

@laurensvalk laurensvalk deleted the usb-work branch July 20, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants