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

View file

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