Skip to content

Commit

Permalink
added missing removal on device being disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
amadeo-alex committed May 18, 2024
1 parent 98e7940 commit e7b754a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ private static void DeviceStateChanged(object sender, DeviceStateChangedEventArg

case DeviceState.NotPresent:
case DeviceState.UnPlugged:
case DeviceState.Disabled:
_devicesToBeRemoved.Enqueue(e.DeviceId);
break;

Expand Down

0 comments on commit e7b754a

Please sign in to comment.