mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Clear stored_msg_ids on session stop
This commit is contained in:
parent
82c81c10bd
commit
d890e5346c
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue