outgoingSynSender thread reaping disabled
It was causing delays on shutdown, worse on linux/osx
This commit is contained in:
parent
b00c4f24ec
commit
74519069f0
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user