Use ref in ComponentThread::joltThreadReq

This commit is contained in:
2025-12-26 13:46:28 -04:00
parent bfe5eb12af
commit 2222491c21
3 changed files with 29 additions and 44 deletions
-4
View File
@@ -339,11 +339,7 @@ void Mind::joltAllMindThreadsReq(
for (auto& thread : componentThreads)
{
std::shared_ptr<PuppetThread> puppetThread =
std::static_pointer_cast<PuppetThread>(thread);
thread->joltThreadReq(
puppetThread,
{request, std::bind(
&MindThreadLifetimeMgmtOp::joltAllMindThreadsReq1,
request.get(), request)});