mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 23:05:15 +00:00
Clear stored_msg_ids on session stop
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user