scrcpy/app/src
Romain Vimont e2ddea9df5 Kill the server only after some delay
Let the server terminate properly once all the sockets are closed.

If it does not terminate (this can happen if the device is asleep), then
kill it.

Fixes #1992 <https://github.com/Genymobile/scrcpy/issues/1992>
2021-01-01 18:49:41 +01:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Replace noconsole binary by a wrapper script 2020-12-22 18:51:59 +01:00
util Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
cli.c Adding new option --encoder 2020-11-08 21:07:17 +01:00
cli.h Customize shortcut modifier 2020-08-01 16:31:27 +02:00
command.c Show a friendly hint for adb installation 2020-02-27 21:28:42 +01:00
command.h Fix size_t format specifier for Windows 2020-11-14 22:10:11 +01:00
common.h Accept port range 2020-01-18 17:21:00 +01:00
compat.h Disable X11 compositor bypass 2019-05-05 17:35:00 +02:00
control_msg.c Handle repeating keycodes 2020-06-19 22:30:17 +02:00
control_msg.h Add pinch-to-zoom simulation 2020-08-10 20:08:24 +02:00
controller.c Make message buffer static 2020-06-11 23:11:20 +02:00
controller.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
decoder.c Remove unused includes 2019-11-27 21:40:54 +01:00
decoder.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
device.c Move utilities to util/ 2019-11-24 11:53:23 +01:00
device.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
device_msg.c Serialize text size on 4 bytes 2020-06-11 23:11:17 +02:00
device_msg.h Increase clipboard size from 4k to 256k 2020-06-11 23:11:20 +02:00
event_converter.c Forward Shift to the device 2020-08-01 16:31:31 +02:00
event_converter.h Add --prefer-text option 2019-11-07 19:01:35 +01:00
events.h Add stream layer 2019-03-02 18:45:45 +01:00
file_handler.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
file_handler.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
fps_counter.c Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
fps_counter.h Replace SDL_Atomic by stdatomic from C11 2020-04-02 21:05:26 +02:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add option to force legacy method for pasting 2020-11-07 15:16:51 +01:00
input_manager.h Add option to force legacy method for pasting 2020-11-07 15:16:51 +01:00
main.c Pause on error from a wrapper script 2020-12-14 09:44:17 +01:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
receiver.c Set computer clipboard only if necessary 2020-08-01 16:31:31 +02:00
receiver.h Move utilities to util/ 2019-11-24 11:53:23 +01:00
recorder.c Add missing mutex unlock on error 2020-09-20 01:11:13 +02:00
recorder.h Make scrcpy.h independant of other headers 2020-06-19 22:30:02 +02:00
scrcpy.c Initialize server struct dynamically 2021-01-01 17:40:52 +01:00
scrcpy.h Adding new option --encoder 2020-11-08 21:07:17 +01:00
screen.c Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
screen.h Fix touch events HiDPI-scaling 2020-06-27 15:45:28 +02:00
server.c Kill the server only after some delay 2021-01-01 18:49:41 +01:00
server.h Kill the server only after some delay 2021-01-01 18:49:41 +01:00
stream.c Remove unused includes 2019-11-27 21:40:54 +01:00
stream.h Remove unused field 2020-09-20 01:11:22 +02:00
tiny_xpm.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
tiny_xpm.h Include config.h everywhere 2019-09-29 22:39:53 +02:00
video_buffer.c Replace SDL_assert() by assert() 2019-11-27 21:19:46 +01:00
video_buffer.h Include config.h everywhere 2019-09-29 22:39:53 +02:00