Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 1.5
-
None
Description
It's now challenging to shut down the agents process because the checkAgents() method is called directly from runAgents(). That means that there can be an extended period of time before the agents process realizes that it needs to shut down and acts accordingly. It would be much better to run the checkAgents() code in a daemon thread that can be kicked with an interrupt and thus shut down quickly.