Got it almost working...
This commit is contained in:
@@ -32,7 +32,11 @@
|
||||
|
||||
namespace libusbwrap {
|
||||
|
||||
UsbDeviceFactory::~UsbDeviceFactory() = default;
|
||||
UsbDeviceFactory::~UsbDeviceFactory() {
|
||||
if (mLibusbCtx) {
|
||||
libusb_exit(mLibusbCtx);
|
||||
}
|
||||
};
|
||||
|
||||
std::vector<std::unique_ptr<IUsbDevice>> UsbDeviceFactory::findAllDevices() {
|
||||
refreshDeviceList();
|
||||
|
||||
Reference in New Issue
Block a user