Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-19 Thread Glyph
> On Jan 19, 2018, at 11:52 AM, Ilya Skriblovsky > wrote: > > > Protocols and transports have a fairly defined lifecycle, and as L. Daniel > > Burr already pointed out, it would probably be appropriate to explicitly > > break these reference cycles in connectionLost. > > Explicitly breaking

Re: [Twisted-Python] Circular references in TLSMemoryBIOProtocol

2018-01-19 Thread Ilya Skriblovsky
> Protocols and transports have a fairly defined lifecycle, and as L. Daniel Burr already pointed out, it would probably be appropriate to explicitly break these reference cycles in connectionLost. Explicitly breaking cycle in ProtocolWrapper.connectionLost by any of: • self.wrappedProtocol = None