mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #19299: fix refleak test failures in test_asyncio
This commit is contained in:
parent
34d33a595b
commit
4ca7355901
3 changed files with 10 additions and 0 deletions
|
@ -276,6 +276,7 @@ class BaseProactorEventLoop(base_events.BaseEventLoop):
|
|||
self._proactor.close()
|
||||
self._proactor = None
|
||||
self._selector = None
|
||||
super().close()
|
||||
|
||||
def sock_recv(self, sock, n):
|
||||
return self._proactor.recv(sock, n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue