Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not report controller error on device disconnected #5044

Merged
merged 1 commit into from
Jul 5, 2024

Commits on Jul 5, 2024

  1. Do not report error on device disconnected

    A device disconnection (when the adb connection is closed) makes the
    read() on the "receiver" socket fail.
    
    Since commit 063a833, this is reported
    as an error. As a consequence, scrcpy fails with:
    
        ERROR: Controller error
    
    instead of:
    
        WARN: Device disconnected
    
    To fix the issue, report a device disconnection in that case.
    
    PR #5044 <#5044>
    rom1v committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    b419eef View commit details
    Browse the repository at this point in the history