diff --git a/smocore/body/body.cpp b/smocore/body/body.cpp index 3fe9381..87d5899 100644 --- a/smocore/body/body.cpp +++ b/smocore/body/body.cpp @@ -177,8 +177,10 @@ void Body::finalizeReq(bodyLifetimeMgmtOpCbFn callback) if (mrntt->id != ComponentThread::MRNTT) { - throw std::runtime_error(std::string(__func__) - + ": Must be invoked by Mrntt thread"); + std::cerr << __func__ << ": Must be invoked by Mrntt thread" + << std::endl; + callback(false); + return; } if (!parent.bodyComponentInitialized)