mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-27 16:45:19 +00:00
Clear stored_msg_ids on session stop
This commit is contained in:
parent
82c81c10bd
commit
d890e5346c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user