mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Clear recv_queue on session stop. Fixes #103
This commit is contained in:
parent
b77771497d
commit
b619818c40
@ -196,6 +196,7 @@ class Session:
|
||||
i.join()
|
||||
|
||||
self.net_worker_list.clear()
|
||||
self.recv_queue.queue.clear()
|
||||
|
||||
for i in self.results.values():
|
||||
i.event.set()
|
||||
|
Loading…
x
Reference in New Issue
Block a user