diff --git a/src/calibre/gui2/store/search.py b/src/calibre/gui2/store/search.py index d3fcd84eca..0d0c10a3cb 100644 --- a/src/calibre/gui2/store/search.py +++ b/src/calibre/gui2/store/search.py @@ -159,9 +159,9 @@ class GenericDownloadThreadPool(object): 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()