Mrntt: Call mind.finalize() on mind object.
This commit is contained in:
@@ -14,6 +14,7 @@ class Mind
|
|||||||
public:
|
public:
|
||||||
void initialize(void);
|
void initialize(void);
|
||||||
void execute(void);
|
void execute(void);
|
||||||
|
void finalize(void);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
std::thread directorThread;
|
std::thread directorThread;
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ void ComponentThread::marionetteMain(ComponentThread& self)
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::cout << __func__ << ": Exited event loop" << "\n";
|
std::cout << __func__ << ": Exited event loop" << "\n";
|
||||||
|
mind.finalize();
|
||||||
shutdownSalmanoff();
|
shutdownSalmanoff();
|
||||||
}
|
}
|
||||||
catch (const std::exception& e)
|
catch (const std::exception& e)
|
||||||
|
|||||||
@@ -22,4 +22,8 @@ void Mind::initialize()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Mind::finalize(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace smo
|
} // namespace smo
|
||||||
|
|||||||
Reference in New Issue
Block a user