beremiz

Parents 0f5a69ab57a1
Children 45a66c3fa78a
SVGHMI: Fix potential zombie thread after stop caused by misuse of ctype.
--- a/svghmi/svghmi_server.py Sun Jan 05 23:05:08 2025 +0100
+++ b/svghmi/svghmi_server.py Sun Jan 05 23:09:34 2025 +0100
@@ -253,7 +253,7 @@
size = ctypes.c_uint32()
ptr = ctypes.c_void_p()
res = 0
- while svghmi_continue_collect:
+ while svghmi_continue_collect.value:
svghmi_wait()
for svghmi_session in svghmi_session_manager.iter_sessions():
res = svghmi_send_collect(