diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index 6a7fc505..3ce96a8f 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -149,6 +149,8 @@ class Session: async def stop(self): self.is_started.clear() + self.stored_msg_ids.clear() + self.ping_task_event.set() if self.ping_task is not None: