1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Added 10 second timeout for anidb thread for restarts/shutdowns

This commit is contained in:
echel0n 2014-07-17 23:21:11 -07:00
parent 6957bd0656
commit 4470735437

View File

@ -1258,10 +1258,10 @@ def halt():
pass
if ADBA_CONNECTION:
ADBA_CONNECTION.logout(True)
ADBA_CONNECTION.logout()
logger.log(u"Waiting for the ANIDB CONNECTION thread to exit")
try:
ADBA_CONNECTION.join()
ADBA_CONNECTION.join(10)
except:
pass