1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-16 03:36:58 +02:00

fix(networkmanager): prevent race condition, support all device types

This commit is contained in:
Reinout Meliesie 2025-08-17 20:57:40 +02:00
commit 8bb95e2e3f
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 8 additions and 22 deletions

View file

@ -33,7 +33,6 @@ impl Client {
let dbus_connection = Connection::system().await?;
let root = DbusProxy::new(&dbus_connection).await?;
// All device types get added to this, but not all types emit events
let mut devices = HashSet::new();
let mut devices_changes = root.receive_all_devices_changed().await;