Clear stored_msg_ids on session stop

This commit is contained in:
Dan 2022-12-28 17:44:02 +01:00
parent 82c81c10bd
commit d890e5346c

View File

@ -149,6 +149,8 @@ class Session:
async def stop(self): async def stop(self):
self.is_started.clear() self.is_started.clear()
self.stored_msg_ids.clear()
self.ping_task_event.set() self.ping_task_event.set()
if self.ping_task is not None: if self.ping_task is not None: