Fix connection not being closed correctly if the accumulated data limit is reached

This commit is contained in:
Fierelier 2021-04-14 18:54:42 +02:00
parent c6e0082598
commit e2940108d9

View File

@ -205,7 +205,7 @@ class inThread(threading.Thread):
if accumulatedData > maxAccumulatedData and not thread.ignore:
thread.ignore = True
thread.queue.put((thread.closeThread,[],{}))
thread.connection.close()
thread.closeConnection()
else:
thread.queue.put(data)