Well, this patch prevents removed scanners from being removed from the global list, so if you unplug and replug the scanner 100 times, you run out of device indexes, and frontend will see 99 non-existent scanners. However, if we add removal code, then there is the possibility that we might drop a device that is busy cause it is opened by another process. I suppose that is ok, and no different than how things are now...
allan