mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
09fe71a29e
commit
03c6b10d95
@ -292,12 +292,12 @@ class Server(Thread):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
time.sleep(0.2)
|
time.sleep(0.2)
|
||||||
for worker in self.workers:
|
for worker in list(self.workers):
|
||||||
try:
|
try:
|
||||||
worker.kill()
|
worker.kill()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
for worker in self.pool:
|
for worker in list(self.pool):
|
||||||
try:
|
try:
|
||||||
worker.kill()
|
worker.kill()
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user