SIGN IN SIGN UP

Force server exit at the end of main()

By default, the Java process exits when all non-daemon threads are
terminated.

The Android SDK might start some non-daemon threads internally,
preventing the scrcpy server to exit in some cases.

So force the process to exit explicitly.

PR #4213 <https://github.com/Genymobile/scrcpy/pull/4213>
R
Romain Vimont committed
41ccb5883ed3538b3f0a99c583beec16bfc893ce
Parent: 23e1160