diff --git a/telethon/update_state.py b/telethon/update_state.py index 171e9546..9f26e3a4 100644 --- a/telethon/update_state.py +++ b/telethon/update_state.py @@ -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: