DevMgr: Use releaseQutexEarly
This commit is contained in:
@@ -373,7 +373,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
sense_api::SenseApiManager::getInstance().qutex.release();
|
||||
releaseQutexEarly(sense_api::SenseApiManager::getInstance().qutex);
|
||||
|
||||
/** EXPLANATION:
|
||||
* We pass in either the body or world thread here, depending on whether
|
||||
@@ -442,7 +442,7 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
sense_api::SenseApiManager::getInstance().qutex.release();
|
||||
releaseQutexEarly(sense_api::SenseApiManager::getInstance().qutex);
|
||||
|
||||
senseApiLib->senseApiDesc.sal_mgmt_libOps.detachDeviceReq(
|
||||
spec,
|
||||
@@ -682,7 +682,7 @@ public:
|
||||
}
|
||||
|
||||
// Release the DeviceManager qutex early before calling the inner method
|
||||
DeviceManager::getInstance().qutex.release();
|
||||
releaseQutexEarly(DeviceManager::getInstance().qutex);
|
||||
|
||||
// Pass the vector to the existing function
|
||||
DeviceManager::getInstance().attachAllUnattachedDevicesFromReq(
|
||||
|
||||
Reference in New Issue
Block a user