DevMgr: Use releaseQutexEarly

This commit is contained in:
2025-09-30 22:53:17 -04:00
parent af19125ac2
commit 55fe2675df
+3 -3
View File
@@ -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(