mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-26 14:00:08 +00:00
Clear connection state before stopping to avoid potential deadlocks
This commit is contained in:
1 parent
f56b7ff79e
commit
b6ee0764ff
1 file changed
+1
-1
@@ -680,8 +680,8 @@ public class Game extends Activity implements SurfaceHolder.Callback,
|
|||||||
|
|
||||||
private void stopConnection() {
|
private void stopConnection() {
|
||||||
if (connecting || connected) {
|
if (connecting || connected) {
|
||||||
conn.stop();
|
|
||||||
connecting = connected = false;
|
connecting = connected = false;
|
||||||
|
conn.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close the Evdev watcher to allow use of captured input devices
|
// Close the Evdev watcher to allow use of captured input devices
|
||||||
|
|||||||
Reference in new issue
Block a user