MindThread:shutdownInd: explicitly invoke on globalMind
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user