diff --git a/source/ControllerSwitch/SwitchUSBDevice.cpp b/source/ControllerSwitch/SwitchUSBDevice.cpp index bcb4152..aabbe89 100644 --- a/source/ControllerSwitch/SwitchUSBDevice.cpp +++ b/source/ControllerSwitch/SwitchUSBDevice.cpp @@ -10,7 +10,6 @@ SwitchUSBDevice::SwitchUSBDevice(UsbHsInterface *interfaces, int length) SwitchUSBDevice::~SwitchUSBDevice() { - Close(); } SwitchUSBDevice::SwitchUSBDevice() diff --git a/source/ControllerSwitch/SwitchUSBEndpoint.cpp b/source/ControllerSwitch/SwitchUSBEndpoint.cpp index 4d408c9..eaa2e8d 100644 --- a/source/ControllerSwitch/SwitchUSBEndpoint.cpp +++ b/source/ControllerSwitch/SwitchUSBEndpoint.cpp @@ -10,7 +10,6 @@ SwitchUSBEndpoint::SwitchUSBEndpoint(UsbHsClientIfSession &if_session, usb_endpo SwitchUSBEndpoint::~SwitchUSBEndpoint() { - Close(); if (m_buffer != nullptr) { free(m_buffer); diff --git a/source/ControllerSwitch/SwitchUSBInterface.cpp b/source/ControllerSwitch/SwitchUSBInterface.cpp index f83d8d7..3ff90f7 100644 --- a/source/ControllerSwitch/SwitchUSBInterface.cpp +++ b/source/ControllerSwitch/SwitchUSBInterface.cpp @@ -10,7 +10,6 @@ SwitchUSBInterface::SwitchUSBInterface(UsbHsInterface &interface) SwitchUSBInterface::~SwitchUSBInterface() { - Close(); } Result SwitchUSBInterface::Open()