mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Clear recv_queue on session stop. Fixes #103
This commit is contained in:
parent
b77771497d
commit
b619818c40
1 changed files with 1 additions and 0 deletions
|
|
@ -196,6 +196,7 @@ class Session:
|
||||||
i.join()
|
i.join()
|
||||||
|
|
||||||
self.net_worker_list.clear()
|
self.net_worker_list.clear()
|
||||||
|
self.recv_queue.queue.clear()
|
||||||
|
|
||||||
for i in self.results.values():
|
for i in self.results.values():
|
||||||
i.event.set()
|
i.event.set()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue