Switch to xbmc.abortRequested to terminate PKC
This commit is contained in:
parent
28a38c63a1
commit
146290c03e
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue