diff --git a/smocore/deviceManager/deviceManager.cpp b/smocore/deviceManager/deviceManager.cpp index 4617b3f..35111ee 100644 --- a/smocore/deviceManager/deviceManager.cpp +++ b/smocore/deviceManager/deviceManager.cpp @@ -368,6 +368,8 @@ public: return; } + sense_api::SenseApiManager::getInstance().qutex.release(); + /** EXPLANATION: * We pass in either the body or world thread here, depending on whether * the device is an introspector (idev) or extrospector (edev). @@ -441,6 +443,9 @@ public: callOriginalCb(false, spec); return; } + + sense_api::SenseApiManager::getInstance().qutex.release(); + lib.senseApiDesc.sal_mgmt_libOps.detachDeviceReq( spec, {context, std::bind(