New issue
Advanced search Search tips

Issue 597890 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 621901
Owner: ----
Closed: Oct 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

bluetooth: windows: Call error callbacks upon object destruction.

Project Member Reported by scheib@chromium.org, Mar 25 2016

Issue description

Several classes retain callbacks while asynchronous operations are pending. In the event of the instances being destroyed the callbacks are not called, but they should be.

E.g.

BluetoothRemoteGattCharacteristicAndroid::
    ~BluetoothRemoteGattCharacteristicAndroid() {
...
  if (pending_start_notify_calls_.size()) {
    OnStartNotifySessionError(device::BluetoothGattService::GATT_ERROR_FAILED);
  }
}

 
Components: IO>Bluetooth
Mergedinto: 621901
Status: Duplicate

Sign in to add a comment