From 146290c03e59d384efee95da89ab599773a94951 Mon Sep 17 00:00:00 2001 From: croneter Date: Wed, 31 Oct 2018 15:35:44 +0100 Subject: [PATCH] Switch to xbmc.abortRequested to terminate PKC --- resources/lib/service_entry.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resources/lib/service_entry.py b/resources/lib/service_entry.py index 3a4c92c4..86812c03 100644 --- a/resources/lib/service_entry.py +++ b/resources/lib/service_entry.py @@ -73,10 +73,7 @@ class Service(): initialsetup.reload_pkc() def _stop_pkc(self): - """ - Kodi's abortRequested is really unreliable :-( - """ - return self.monitor.abortRequested() or state.STOP_PKC + return xbmc.abortRequested or state.STOP_PKC def ServiceEntryPoint(self): # Important: Threads depending on abortRequest will not trigger