mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Call the connectionTerminated() callback instead of trying to handle termination ourselves
This commit is contained in:
parent
b0d5b9c767
commit
6f8306cc18
@ -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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user