Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnection is not properly handled #8

Open
redtide opened this issue Dec 14, 2018 · 0 comments
Open

Disconnection is not properly handled #8

redtide opened this issue Dec 14, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@redtide
Copy link
Member

redtide commented Dec 14, 2018

On Android debug:

W System.err: java.io.IOException: bt socket closed, read return: -1
W System.err: 	at android.bluetooth.BluetoothSocket.read(BluetoothSocket.java:574)
W System.err: 	at android.bluetooth.BluetoothInputStream.read(BluetoothInputStream.java:96)
W System.err: 	at java.io.InputStream.read(InputStream.java:101)
W System.err: 	at org.qtproject.qt5.android.bluetooth.QtBluetoothInputStreamThread.run(QtBluetoothInputStreamThread.java:86)
W SmartHHC: QIODevice::write (QBluetoothSocket): device not open
W IInputConnectionWrapper: getExtractedText on inactive InputConnection
W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection

Check various cases where a disconnection occurs and close the socket where needed.

@redtide redtide added the bug Something isn't working label Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant