Switch to xbmc.abortRequested to terminate PKC

This commit is contained in:
croneter 2018-10-31 15:35:44 +01:00
parent 28a38c63a1
commit 146290c03e

View file

@ -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