summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-02-23 16:57:38 +0100
committerBastien Nocera <hadess@hadess.net>2022-02-23 17:09:38 +0100
commit778d6d3d856fb8a42ee3bbe43eb76c6b142be084 (patch)
tree82d04714b9be4cc326555273c3a121876b727c00 /meson.build
parentc05589f82b6b35f3d0fb4c08315bc319441b49c1 (diff)
downloadgnome-bluetooth-778d6d3d856fb8a42ee3bbe43eb76c6b142be084.tar.gz
lib: Fix possible race between UPower and Bluez on init
Fix possible race between UPower and Bluez when creating the BluetoothClient. Bluetooth-DEBUG: Successfully created UpClient Bluetooth-DEBUG: Got initial list of 2 UPower devices Bluetooth-DEBUG: Considering UPower device /org/freedesktop/UPower/devices/mouse_dev_11_22_33_44_55_66 Bluetooth-DEBUG: Could not find bluez device for upower device /org/bluez/hci0/dev_11_22_33_44_55_66 Bluetooth-DEBUG: Considering UPower device /org/freedesktop/UPower/devices/mouse_dev_11_22_33_44_55_67 Bluetooth-DEBUG: Could not find bluez device for upower device /org/bluez/hci0/dev_11_22_33_44_55_67 Bluetooth-DEBUG: Adding adapters from ObjectManager Bluetooth-DEBUG: Inserting adapter :1.2 /org/bluez/hci0 org.bluez.Adapter1 Bluetooth-DEBUG: Setting '/org/bluez/hci0' as the new default adapter Bluetooth-DEBUG: Emptying list store as default adapter changed Bluetooth-DEBUG: Coldplugging devices for new default adapter Bluetooth-DEBUG: Adding device '11:22:33:44:55:66' on adapter '/org/bluez/hci0' to list store Bluetooth-DEBUG: Adding device '11:22:33:44:55:67' on adapter '/org/bluez/hci0' to list store Bluetooth-DEBUG: New default adapter so invalidating all the default-adapter* properties The UpDevices are enumerated before we've even enumerated the Bluetooth adapters, so we don't have any BluetoothDevices to attach the UpDevices to. Wait until we've at least run through setting a default adapter before enumerating the UPower devices.
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions