mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-23 00:27:40 +00:00
Call the connectionTerminated() callback instead of trying to handle termination ourselves
This commit is contained in:
1 parent
b0d5b9c767
commit
6f8306cc18
1 file changed
+1
-2
@@ -366,8 +366,7 @@ public class NvConnection {
|
|||||||
try {
|
try {
|
||||||
inputStream.sendKeyboardInput(keyMap, keyDirection, modifier);
|
inputStream.sendKeyboardInput(keyMap, keyDirection, modifier);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
listener.displayMessage(e.getMessage());
|
listener.connectionTerminated(e);
|
||||||
NvConnection.this.stop();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user