def onAbortRequested(self):
     # Only when closing Kodi
     if xbmc.abortRequested:
         xbmc.executebuiltin("Dialog.Close(all, true)")
         shutdown()
         self._closing.set()
         self._closing.clear()
Beispiel #2
0
 def onAbortRequested(self):
     # Only when closing Kodi
     if xbmc.abortRequested:
         xbmc.executebuiltin("Dialog.Close(all, true)")
         shutdown()
         try:
             self._closing.set()
             self._closing.clear()
         except SystemExit as e:
             if e.code != 0:
                 os._exit(0)
             pass
 def onAbortRequested(self):
     # Only when closing Kodi
     if xbmc.abortRequested:
         xbmc.executebuiltin("Dialog.Close(all, true)")
         shutdown()
         try:
             self._closing.set()
             self._closing.clear()
         except SystemExit as e:
             if e.code != 0:
                 os._exit(0)
             pass