Todo: update comments
This commit is contained in:
@@ -76,6 +76,8 @@ public:
|
|||||||
+ ": Must be executed on Marionette thread");
|
+ ": Must be executed on Marionette thread");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
device::DeviceManager::getInstance().finalizeDeviceReattacher();
|
||||||
|
|
||||||
/** FIXME:
|
/** FIXME:
|
||||||
* It may be necessary to add a delay here to ensure that all in-flight
|
* It may be necessary to add a delay here to ensure that all in-flight
|
||||||
* timer timeouts have finished executing? Or some other mechanism.
|
* timer timeouts have finished executing? Or some other mechanism.
|
||||||
@@ -87,10 +89,11 @@ public:
|
|||||||
*
|
*
|
||||||
* This seems to be actually happening with the delayed calls to
|
* This seems to be actually happening with the delayed calls to
|
||||||
* AttachDeviceReq::attachDeviceReq2() inside of livoxGen1.cpp.
|
* AttachDeviceReq::attachDeviceReq2() inside of livoxGen1.cpp.
|
||||||
|
*
|
||||||
|
* One tactic might be to shut down device reattacher before finalizing
|
||||||
|
* and pause for a bit before continuing to shutdown other components.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
device::DeviceManager::getInstance().finalizeDeviceReattacher();
|
|
||||||
|
|
||||||
smo::mind::globalMind->finalizeReq({context, std::bind(
|
smo::mind::globalMind->finalizeReq({context, std::bind(
|
||||||
&MrnttLifetimeMgmtOp::finalizeReq2,
|
&MrnttLifetimeMgmtOp::finalizeReq2,
|
||||||
this, context, std::placeholders::_1)});
|
this, context, std::placeholders::_1)});
|
||||||
|
|||||||
Reference in New Issue
Block a user