From f73845b104710eda810369b4c10f30325617681b Mon Sep 17 00:00:00 2001 From: Matthew Stratford Date: Sat, 12 Mar 2022 16:45:05 +0000 Subject: [PATCH] Further cleanup. --- server.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/server.py b/server.py index 5d31403..81a3645 100644 --- a/server.py +++ b/server.py @@ -332,7 +332,7 @@ class BAPSicleServer: for player in self.player: player.join(timeout=PROCESS_KILL_TIMEOUT_S) - #del self.player + del self.player print("Deleting all queues.") # Should speed up GC on exit a bit. @@ -345,15 +345,13 @@ class BAPSicleServer: self.file_to_q, ] for queue in queues: - print(str(queue)) if isinstance(queue, List): for inner_queue in queue: inner_queue.close() - #del inner_queue + del inner_queue elif isinstance(queue, Queue): queue.close() - print("del", str(queue)) - #del queue + del queue print("Stopped all processes.")