summaryrefslogtreecommitdiffstats
path: root/components/pairing
diff options
context:
space:
mode:
Diffstat (limited to 'components/pairing')
-rw-r--r--components/pairing/bluetooth_host_pairing_controller.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/pairing/bluetooth_host_pairing_controller.cc b/components/pairing/bluetooth_host_pairing_controller.cc
index c8246b1..c157370 100644
--- a/components/pairing/bluetooth_host_pairing_controller.cc
+++ b/components/pairing/bluetooth_host_pairing_controller.cc
@@ -64,6 +64,7 @@ BluetoothHostPairingController::BluetoothHostPairingController()
}
BluetoothHostPairingController::~BluetoothHostPairingController() {
+ Reset();
if (adapter_.get()) {
if (adapter_->IsDiscoverable()) {
adapter_->SetDiscoverable(false, base::Closure(), base::Closure());