Log device disconnection
If scrcpy closes due to socket disconnection, log a warning.
This commit is contained in:
parent
e282100d0b
commit
6996cbf5d3
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ event_loop(bool display, bool control) {
|
|||
case EVENT_RESULT_STOPPED_BY_USER:
|
||||
return true;
|
||||
case EVENT_RESULT_STOPPED_BY_EOS:
|
||||
LOGW("Device disconnected");
|
||||
return false;
|
||||
case EVENT_RESULT_CONTINUE:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue