Unplugged device

Aug 4, 2016 at 5:22 PM
Hi...I don't know if this project is still active, but I just tried it and it works well except if the device I'm reading/writing is unplugged while communicating. When this happens, I try to close the device, dispose of the UsbManager and then later try to create a new UsbManager and reconnect but it fails when I call UsbDevice.Open. Completely exiting and restarting the program restores communication.
Aug 5, 2016 at 6:40 PM
I've moved on to other things and haven't worked with this project in a while. Maybe I'm stating the obvious, but it sounds like Dispose() is failing to free some resource. Let me know if you figure out what it is...