hughsie / libgusb

GUsb is a GObject wrapper for libusb1
GNU Lesser General Public License v2.1
25 stars 21 forks source link

Emit remove events when loading contexts #92

Closed hughsie closed 1 year ago

hughsie commented 1 year ago

If a program, say fwupd, has references to existing devices it is probably not expected for the physical backing device to just vanish.

hughsie commented 1 year ago

@fdanis-oss i've respun this to only remove devices matching the tag (or the behavior as before if the tag is NULL) -- i think this is what we want if we need to support devices that replug with a different VID/PID.

fdanis-oss commented 1 year ago

Seems OK to me