mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-21 07:46:57 +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() {
|
||||
if (connecting || connected) {
|
||||
conn.stop();
|
||||
connecting = connected = false;
|
||||
conn.stop();
|
||||
}
|
||||
|
||||
// Close the Evdev watcher to allow use of captured input devices
|
||||
|
||||
Reference in new issue
Block a user