Fix instance of lingering clients

This commit is contained in:
Fierelier 2021-04-16 04:29:28 +02:00
parent e69482b375
commit a317102d91

View File

@ -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