diff options
Diffstat (limited to 'device/bluetooth/test/test_bluetooth_adapter_observer.cc')
-rw-r--r-- | device/bluetooth/test/test_bluetooth_adapter_observer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/test/test_bluetooth_adapter_observer.cc b/device/bluetooth/test/test_bluetooth_adapter_observer.cc index 74903a0..811ffb6 100644 --- a/device/bluetooth/test/test_bluetooth_adapter_observer.cc +++ b/device/bluetooth/test/test_bluetooth_adapter_observer.cc @@ -302,7 +302,7 @@ void TestBluetoothAdapterObserver::GattDescriptorValueChanged( void TestBluetoothAdapterObserver::QuitMessageLoop() { if (base::MessageLoop::current() && base::MessageLoop::current()->is_running()) - base::MessageLoop::current()->Quit(); + base::MessageLoop::current()->QuitWhenIdle(); } } // namespace device |