From 7cb6c8521e80cf23ca8c2e0614d07645d9a4f800 Mon Sep 17 00:00:00 2001 From: Hayodea Hakol Date: Sun, 14 Sep 2025 10:59:52 -0400 Subject: [PATCH] MindThread:shutdownInd: explicitly invoke on globalMind --- smocore/componentThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smocore/componentThread.cpp b/smocore/componentThread.cpp index aaab457..2ad8cee 100644 --- a/smocore/componentThread.cpp +++ b/smocore/componentThread.cpp @@ -330,7 +330,7 @@ public: * An exception has occurred in one of a mind's threads. We need to * shut down all of that particular mind's threads. */ - context->caller->parent.finalizeReq( + globalMind->finalizeReq( std::bind( &MindShutdownIndOp::mindShutdownInd2, context.get(), context)); @@ -351,7 +351,7 @@ public: * So this should ideally be a loop * through all running Minds, calling finalizeReq on each one. */ - context->caller->parent.finalizeReq( + globalMind->finalizeReq( std::bind( &MindShutdownIndOp::mindShutdownInd2, context.get(), context));