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:
parent
6957bd0656
commit
4470735437
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user