mirror of https://github.com/Genymobile/scrcpy
Prevent killing unexpected process
A missing initialization (fixed by the previous commit) leaded to kill unexpected process. In order to prevent consequences of similar errors in the future, never call kill() with a non-positive PID. See <https://github.com/Genymobile/scrcpy/issues/182>.pull/194/head
parent
1a0139321b
commit
1846d2f078
Loading…
Reference in New Issue