Fix instance of lingering clients
This commit is contained in:
parent
e69482b375
commit
a317102d91
@ -107,7 +107,7 @@ class outThread(threading.Thread):
|
|||||||
def run(self):
|
def run(self):
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
data = self.queue.get()
|
data = self.queue.get(timeout=15)
|
||||||
if type(data) == tuple:
|
if type(data) == tuple:
|
||||||
data[0](*data[1],**data[2])
|
data[0](*data[1],**data[2])
|
||||||
if data[0] == self.closeThread: return
|
if data[0] == self.closeThread: return
|
||||||
|
Loading…
Reference in New Issue
Block a user