outgoingSynSender thread reaping disabled

It was causing delays on shutdown, worse on linux/osx
This commit is contained in:
mailchuck 2015-11-22 16:42:34 +01:00
parent 9065910a38
commit 97586c50b7
Signed by untrusted user who does not match committer: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -411,7 +411,8 @@ def doCleanShutdown():
if thread.isAlive() and isinstance(thread, StoppableThread): if thread.isAlive() and isinstance(thread, StoppableThread):
thread.stopThread() thread.stopThread()
for thread in threading.enumerate(): for thread in threading.enumerate():
if thread.name == "uPnPThread" or "outgoingSynSender" in thread.name: if thread.name == "uPnPThread":
#or "outgoingSynSender" in thread.name:
logger.debug("Waiting for thread %s", thread.name) logger.debug("Waiting for thread %s", thread.name)
thread.join() thread.join()