bpo-34638: Store a weak reference to stream reader to break strong references loop (GH-9201)
Store a weak reference to stream readerfor breaking strong references It breaks the strong reference loop between reader and protocol and allows to detect and close the socket if the stream is deleted (garbage collected)
A
Andrew Svetlov committed
a5d1eb8d8b7add31b5f5d9bbb31cee1a491b2c08
Parent: aca819f
Committed by GitHub <noreply@github.com>
on 9/12/2018, 6:43:04 PM