I’ve been facing an issue with zombie threads in TuringBot. After using sim.terminate_process(), the threads should terminate, but they often remain visible in Process Explorer and keep consuming CPU. The behavior is inconsistent, as sometimes the threads are properly terminated and sometimes they are not, even with the same settings on Windows 10.
According to the changelog for version 2.21.1 (September 19th, 2024), this issue was supposed to be fixed, with a mention of bug fixes for zombie processes in the Python library. However, the problem still persists. Thanks.