From 9d07a58c50eae5197590233bc72177c5ebf19606 Mon Sep 17 00:00:00 2001 From: croneter Date: Sun, 17 Mar 2019 17:28:25 +0100 Subject: [PATCH] Replace waitForAbort() with sleep() --- resources/lib/service_entry.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/service_entry.py b/resources/lib/service_entry.py index c17f8375..fa929595 100644 --- a/resources/lib/service_entry.py +++ b/resources/lib/service_entry.py @@ -459,7 +459,7 @@ class Service(object): continue if app.APP.suspend: - app.APP.monitor.waitForAbort(0.1) + xbmc.sleep(100) continue # Before proceeding, need to make sure: @@ -498,7 +498,7 @@ class Service(object): if utils.settings('enable_alexa') == 'true': self.alexa.start() - app.APP.monitor.waitForAbort(0.1) + xbmc.sleep(100) # EXITING PKC # Tell all threads to terminate (e.g. several lib sync threads)