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:
parent
1836ab2943
commit
8bb95e2e3f
2 changed files with 8 additions and 22 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue