commit | 5485085b324a45307c1ff4ec7d85b5998d7d5e0d | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Fri Jan 11 14:35:14 2019 +0100 |
committer | GitHub <noreply@github.com> | Fri Jan 11 14:35:14 2019 +0100 |
tree | a1183c6a4bec97b23d427ed6425603e3db5ff4c2 | |
parent | fd7d539be3ce1cc098a4f104b7a7816ca00add16 [diff] |
bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489) Fix memory leaks in asyncio ProactorEventLoop on overlapped operation failures. Changes: * Implement the tp_traverse slot in the _overlapped.Overlapped type to help to break reference cycles and identify referrers in the garbage collector. * Always clear overlapped on failure: not only set type to TYPE_NOT_STARTED, but release also resources.