New submission from begnac <[email protected]>:
Hello,
Even after close()ing, asyncio.selector_events._SelectorSocketTransport keeps a
reference to itself via self._read_ready_cb.
should probably add
def close(self):
super().close()
self._read_ready_cb = None
Cheers !
Itaï.
----------
components: asyncio
messages: 389219
nosy: asvetlov, begnac, yselivanov
priority: normal
severity: normal
status: open
title: Leak in asyncio.selector_events._SelectorSocketTransport
type: performance
versions: Python 3.10, Python 3.9
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43579>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com