sleep for 1 sec in the main loop
This commit is contained in:
parent
9b28b97be7
commit
510fe51bf8
1 changed files with 4 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue