diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-03-25 15:46:11 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-03-28 08:07:15 +0000 |
commit | 845e185b2881210b8f3a0dc25926c3d74b0008bf (patch) | |
tree | e8bd8b15b50a0be802ac8cebd6e3c9e9d37c400d /tests | |
parent | 7bfd9ae91ff801ae6b36d3fe7563bcb2781c5e01 (diff) |
winrt: More corrections for handling device disconnections
The signal about device disconnections has to be done at the very end of
disconnectFromDevice as a user's application might access an invalid
mDevice otherwise if it tries to reconnect automatically.
The list of device services has to be invalidated when a remote device
disconnects. The same is done in other backends.
Additionally the "valueChanged" callbacks should be unregistered on
device disconnection. Thus we avoid late callbacks which might cause
asserts.
Task-number: QTBUG-74394
Change-Id: I156be8ebefc9d9e5533bc60e7018088641680ba3
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions