Exc: Replace with cb+ret
This commit is contained in:
@@ -177,8 +177,10 @@ void Body::finalizeReq(bodyLifetimeMgmtOpCbFn callback)
|
|||||||
|
|
||||||
if (mrntt->id != ComponentThread::MRNTT)
|
if (mrntt->id != ComponentThread::MRNTT)
|
||||||
{
|
{
|
||||||
throw std::runtime_error(std::string(__func__)
|
std::cerr << __func__ << ": Must be invoked by Mrntt thread"
|
||||||
+ ": Must be invoked by Mrntt thread");
|
<< std::endl;
|
||||||
|
callback(false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!parent.bodyComponentInitialized)
|
if (!parent.bodyComponentInitialized)
|
||||||
|
|||||||
Reference in New Issue
Block a user