mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Stopping workers should not clear their count (may fix #686)
This commit is contained in:
@@ -80,6 +80,7 @@ class UpdateState:
|
||||
t.join()
|
||||
|
||||
self._worker_threads.clear()
|
||||
self._workers = n
|
||||
|
||||
def setup_workers(self):
|
||||
if self._worker_threads or not self._workers:
|
||||
|
Reference in New Issue
Block a user