Mrntt:main: call mrntt:finalizeReq on exception

We'll wrap this in some exception-specific wrapper later.
This commit is contained in:
2025-09-15 11:42:38 -04:00
parent 62cada2547
commit 0759461c69
+4 -1
View File
@@ -181,7 +181,10 @@ void MarionetteThread::main(MarionetteThread& self)
if (sendExceptionInd)
{
mrntt::exitCode = EXIT_FAILURE;
self.exceptionInd(self.shared_from_this());
mrntt::mrntt.finalizeReq(
std::bind(
&mrntt::marionetteFinalizeReqCb,
std::placeholders::_1));
}
}