New issue
Advanced search Search tips

Issue 629298 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug

Blocking:
issue 571466



Sign in to add a comment

bluetooth: Desktop chooser calling Handler after it has been destroyed.

Project Member Reported by ortuno@chromium.org, Jul 18 2016

Issue description

The BluetoothChooser interface states:

"The EventHandler won't be called after the chooser object is destroyed."[1]

On Android, BluetoothChooserAndroid achieves this by closing the chooser[2]. BluetoothChooserDesktop on the other hand does not respect the interface and calls the handler even after the chooser has been deleted causing a null pointer exception.

[1] https://cs.chromium.org/chromium/src/content/public/browser/bluetooth_chooser.h?sq=package:chromium&dr=C&rcl=1468855046&l=45
[2] https://cs.chromium.org/chromium/src/chrome/browser/ui/android/bluetooth_chooser_android.cc?sq=package:chromium&dr=CSs&l=56
 
Status: Started (was: Available)
Status: Fixed (was: Started)

Sign in to add a comment