mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:43:27 +02:00
...
This commit is contained in:
parent
a30f916813
commit
d459367526
1 changed files with 1 additions and 1 deletions
|
|
@ -159,9 +159,9 @@ def start_threads(self):
|
|||
def abort(self):
|
||||
self.tasks = Queue()
|
||||
self.results = Queue()
|
||||
self.threads = []
|
||||
for t in self.threads:
|
||||
t.abort()
|
||||
self.threads = []
|
||||
|
||||
def has_tasks(self):
|
||||
return not self.tasks.empty()
|
||||
|
|
|
|||
Loading…
Reference in a new issue