Replace waitForAbort() with sleep()

This commit is contained in:
croneter 2019-03-17 17:28:25 +01:00
parent d068c37c49
commit 9d07a58c50

View file

@ -459,7 +459,7 @@ class Service(object):
continue continue
if app.APP.suspend: if app.APP.suspend:
app.APP.monitor.waitForAbort(0.1) xbmc.sleep(100)
continue continue
# Before proceeding, need to make sure: # Before proceeding, need to make sure:
@ -498,7 +498,7 @@ class Service(object):
if utils.settings('enable_alexa') == 'true': if utils.settings('enable_alexa') == 'true':
self.alexa.start() self.alexa.start()
app.APP.monitor.waitForAbort(0.1) xbmc.sleep(100)
# EXITING PKC # EXITING PKC
# Tell all threads to terminate (e.g. several lib sync threads) # Tell all threads to terminate (e.g. several lib sync threads)