mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #23209: Break some reference cycles in asyncio. Patch written by Martin
Richard.
This commit is contained in:
parent
70db9e428a
commit
587feb19e8
3 changed files with 3 additions and 1 deletions
|
@ -182,6 +182,7 @@ class WriteSubprocessPipeProto(protocols.BaseProtocol):
|
|||
def connection_lost(self, exc):
|
||||
self.disconnected = True
|
||||
self.proc._pipe_connection_lost(self.fd, exc)
|
||||
self.proc = None
|
||||
|
||||
def pause_writing(self):
|
||||
self.proc._protocol.pause_writing()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue