Added 10sec timeout for subtitlesFinderScheduler on shutdowns

This commit is contained in:
echel0n 2014-07-21 19:30:37 -07:00
parent c83e964ca5
commit 77feb5a74c

View file

@ -1252,7 +1252,7 @@ def halt():
subtitlesFinderScheduler.stop.set()
logger.log(u"Waiting for the SUBTITLESFINDER thread to exit")
try:
subtitlesFinderScheduler.join()
subtitlesFinderScheduler.join(10)
except:
pass