GNOME Bugzilla – Bug 644858
Exception when a bluetooth is removed
Last modified: 2011-03-16 14:31:20 UTC
JS ERROR: !!! Exception was: TypeError: d2 is undefined JS ERROR: !!! lineNumber = '130' JS ERROR: !!! fileName = '/home/giovanni/gnome-shell/install/share/gnome-shell/js/ui/status/bluetooth.js' JS ERROR: !!! stack = '([object _private_GnomeBluetoothApplet_SimpleDevice],(void 0))@/home/giovanni/gnome-shell/install/share/gnome-shell/js/ui/status/bluetooth.js:130 ([object _private_GnomeBluetoothApplet_Applet])@/home/giovanni/gnome-shell/install/share/gnome-shell/js/ui/status/bluetooth.js:146 ([object _private_GnomeBluetoothApplet_Applet])@/home/giovanni/gnome-shell/install/share/gjs-1.0/lang.js:110 Patch coming...
Created attachment 183466 [details] [review] Bluetooth: fix updating the device list Inside the inner loop, use the inner iterator, not that of the outer loop. At the same time, refactor the code to rely less on private properties appended to foreign objects.
Comment on attachment 183466 [details] [review] Bluetooth: fix updating the device list looks right
Attachment 183466 [details] pushed as 7f67c34 - Bluetooth: fix updating the device list