mirror of
https://github.com/Genymobile/scrcpy
synced 2025-02-22 07:26:51 +00:00
DesktopConnection implements Closeable, so it is implicitly closed after
its try-with-resources block. Closing the DesktopConnection shutdowns
the sockets, so it is necessary in particular to wake up blocking read()
calls from the controller.
But the controller thread was joined before the DesktopConnection was
closed, causing a deadlock. To fix the problem, join the controller
thread only after the DesktopConnection is closed.
Refs
|
||
---|---|---|
.. | ||
scripts | ||
src | ||
.gitignore | ||
build_without_gradle.sh | ||
build.gradle | ||
meson.build | ||
proguard-rules.pro |