2
0
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:
Dan 2018-09-03 16:35:22 +02:00 committed by GitHub
parent b77771497d
commit b619818c40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()