Index: device/bluetooth/bluetooth_device_android.cc |
diff --git a/device/bluetooth/bluetooth_device_android.cc b/device/bluetooth/bluetooth_device_android.cc |
index 244ab0233d167c34fc1f3128da13ed13b0d161f3..2d9c954a1445c2945a00849903792808f3ea2b76 100644 |
--- a/device/bluetooth/bluetooth_device_android.cc |
+++ b/device/bluetooth/bluetooth_device_android.cc |
@@ -28,6 +28,8 @@ BluetoothDeviceAndroid* BluetoothDeviceAndroid::Create( |
} |
BluetoothDeviceAndroid::~BluetoothDeviceAndroid() { |
+ Java_ChromeBluetoothDevice_onBluetoothDeviceAndroidDestruction( |
+ AttachCurrentThread(), j_device_.obj()); |
} |
bool BluetoothDeviceAndroid::UpdateAdvertisedUUIDs(jobject advertised_uuids) { |