Skip to content

Commit

Permalink
Explicitly exit cleanup process
Browse files Browse the repository at this point in the history
This avoids an internal crash reported in `adb logcat`.

Refs #4456 <#4456 (comment)>
  • Loading branch information
rom1v committed Dec 4, 2023
1 parent 5ce8672 commit 1beec99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main/java/com/genymobile/scrcpy/CleanUp.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,5 +187,7 @@ public static void main(String... args) {
Device.setScreenPowerMode(Device.POWER_MODE_NORMAL);
}
}

System.exit(0);
}
}

0 comments on commit 1beec99

Please sign in to comment.