mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-23 01:46:35 +03:00
Stopping workers should not clear their count (may fix #686)
This commit is contained in:
parent
1e3120b0b6
commit
b20aa0ccc9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user