sleep for 1 sec in the main loop

This commit is contained in:
shaun 2015-04-04 10:13:36 +11:00
parent 9b28b97be7
commit 510fe51bf8
1 changed files with 4 additions and 0 deletions

View File

@ -330,6 +330,10 @@ class UserClient(threading.Thread):
if self.stopClient == True:
break
if self.KodiMonitor.waitForAbort(1):
# Abort was requested while waiting. We should exit
break
self.logMsg("|---- UserClient Stopped ----|", 0)
def stopClient(self):