Ricerche salvate: supporto cerca film/serie/attore

Possibile fix freeze kodi alla chiusura
This commit is contained in:
marco
2021-11-13 14:42:40 +01:00
parent dea6782c5e
commit d5c870db44
6 changed files with 40 additions and 37 deletions
+1 -4
View File
@@ -38,9 +38,6 @@ from threading import Thread
__version__ = '1.7.0.dev0'
import xbmc
kodi_monitor = xbmc.Monitor()
major_version = sys.version_info[0]
if major_version < 3: # py <= 2.x
if sys.version_info[1] < 5: # py <= 2.4
@@ -443,7 +440,7 @@ class SqliteMultithread(Thread):
self._sqlitedict_thread_initialized = True
res = None
while not kodi_monitor.abortRequested():
while True:
req, arg, res, outer_stack = self.reqs.get()
if req == '--close--':
assert res, ('--close-- without return queue', res)