From cd6f37900db81953c60902c8b2b6ba21aefaf887 Mon Sep 17 00:00:00 2001 From: Yaossg Date: Sun, 19 Jan 2025 19:12:50 +0800 Subject: [PATCH] fix endless loop --- position_3n_table.h | 1 + 1 file changed, 1 insertion(+) diff --git a/position_3n_table.h b/position_3n_table.h index da1fbd3..754b21c 100644 --- a/position_3n_table.h +++ b/position_3n_table.h @@ -222,6 +222,7 @@ public: delete workerLock[i]; } Position* pos; + freePositionPool.close(); while(freePositionPool.recv(pos)) { delete pos; }