From a317102d917527ab580320dea9e104c624d2dffe Mon Sep 17 00:00:00 2001 From: Fierelier Date: Fri, 16 Apr 2021 04:29:28 +0200 Subject: [PATCH] Fix instance of lingering clients --- fstream-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fstream-server.py b/fstream-server.py index 0863d68..2be2784 100644 --- a/fstream-server.py +++ b/fstream-server.py @@ -107,7 +107,7 @@ class outThread(threading.Thread): def run(self): try: while True: - data = self.queue.get() + data = self.queue.get(timeout=15) if type(data) == tuple: data[0](*data[1],**data[2]) if data[0] == self.closeThread: return