Explicitly exit cleanup process

This avoids an internal crash reported in `adb logcat`.

Refs #4456 <https://github.com/Genymobile/scrcpy/pull/4456#issuecomment-1837427802>
This commit is contained in:
Romain Vimont 2023-12-03 10:48:53 +01:00
parent 5ce8672ebc
commit 1beec99f82

View file

@ -187,5 +187,7 @@ public final class CleanUp {
Device.setScreenPowerMode(Device.POWER_MODE_NORMAL);
}
}
System.exit(0);
}
}