GoodAI/BrainSimulator

MyProjectRunner.RunAndPause blocks indefinitely

cybercritic opened this issue · 0 comments

You have a thread deadlock in MySimulationHandler, the m_worker_DoWork never signals that it's complete after reaching the m_stepsToPerform target. This is due to the WaitUntilStepsPerformed function blocking the thread that is supposed to signal the m_worker_RunWorkerCompleted event.