1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

OP-334 Better exit code for the RawHID plugin (termintes usb monitor)

git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2962 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
edouard 2011-03-04 09:59:43 +00:00 committed by edouard
parent 7317891d39
commit f2fc9b03d4

View File

@ -54,8 +54,11 @@ RawHIDConnection::RawHIDConnection()
RawHIDConnection::~RawHIDConnection()
{
if (RawHidHandle)
{
}
if (RawHidHandle->isOpen())
RawHidHandle->close();
m_usbMonitor.quit();
m_usbMonitor.wait(500);
}
/**