Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.5.0 Alpha
-
None
Description
As a result of fixing QTBUG-44930 it is possible to receive an Unconnected signal right after an QBluetoothSocket::abort() while the socket is still being opened. The QBluetoothSocket should remain in Closing until the WorkerThread has really finished.
This use case can only triggered when the internal InputThread has not been started and abort() is called.
Two scenarios need to be considered. The running QBluetoothSocket.connect may fail or connect. It it fails the Unconnected() state should be set. If it succeeds the closeJavaSocket() signal should be emitted. Once the Thread has finished the Unconnected state should be set.
Attachments
Issue Links
- resulted from
-
QTBUG-44930 Application crashed when many times connecting. (Like QTBUG-44164, but on linux)
- Closed