Fix connection not being closed correctly if the accumulated data limit is reached
This commit is contained in:
parent
c6e0082598
commit
e2940108d9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user