-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnmrsChanges to nmrsChanges to nmrs
Milestone
Description
Describe the bug
During forget() operation, if getting device state fails in the wait loop, the error is logged but the loop just breaks and continues to the deletion phase. This means we proceed without confirming the device actually disconnected.
Err(e) => {
warn!("Failed to get device state in wait loop {i}: {e}");
break; // Continues to line 167 (deletion phase)
}If the D-Bus call fails, we don't know if the device disconnected or is still connected.
Expected behavior
Should return the error or verify final state before proceeding to delete saved connections.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomersnmrsChanges to nmrsChanges to nmrs