diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-08-08 09:31:08 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2016-08-09 06:57:46 +0000 |
commit | 37953301c49d7693a2cb7093036092219e1cac47 (patch) | |
tree | ee57eaae04d23e854f6dcc6fa9e4080cf0c2cd65 /src | |
parent | 511bd934b7a9ad17bf81d6fe9325c41732cae9ee (diff) |
winrt: Stop LE scan timer when stopping device discovery
Change-Id: Ia639ac6ef3418991390c4aab4732be7ecf14c00e
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp b/src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp index c8e42a33..8e9c1569 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_winrt.cpp @@ -406,6 +406,8 @@ void QBluetoothDeviceDiscoveryAgentPrivate::stop() disconnectAndClearWorker(); emit q->canceled(); } + if (leScanTimer) + leScanTimer->stop(); } void QBluetoothDeviceDiscoveryAgentPrivate::onListInitializationCompleted() |