Exemplo n.º 1
0
 def onAbortRequested(self):
     # Only when closing Kodi
     if xbmc.abortRequested:
         xbmc.executebuiltin("Dialog.Close(all, true)")
         shutdown()
         self._closing.set()
         self._closing.clear()
Exemplo n.º 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
Exemplo n.º 3
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