mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-11 05:33:37 +00:00
Added 10 second timeout for anidb thread for restarts/shutdowns
This commit is contained in:
parent
6957bd0656
commit
4470735437
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue